monky-2.1.0.0: A system state collecting library and application

PortabilityLinux
Stabilitytesting
Maintainerongy, moepi
Safe HaskellNone

Monky.Examples.Battery

Description

 

Synopsis

Documentation

getBatteryHandleSource

Arguments

:: String

The name of the wall socket adapter used by the battery

-> String

The name of the battery

-> IO BatteryH 

Create a BatteryHandle

getBatteryHandle' :: String -> IO BatteryHSource

Version of getBatteryHandle that defaults to BAT0

data BatteryH Source

The handle type for this module

Instances