Maintainer | ongy, moepi |
---|---|
Stability | testing |
Portability | Linux |
Safe Haskell | None |
Language | Haskell2010 |
- getBatteryHandle :: String -> String -> IO BatteryH
- getBatteryHandle' :: String -> IO BatteryH
- data BatteryH
Documentation
:: 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 BatteryH Source #
Version of getBatteryHandle
that defaults to BAT0