Portability | Linux |
---|---|
Stability | testing |
Maintainer | ongy, moepi |
Safe Haskell | None |
- 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 BatteryHSource
Version of getBatteryHandle
that defaults to BAT0