| Portability | Linux |
|---|---|
| Stability | testing |
| Maintainer | ongy, moepi |
| Safe Haskell | None |
Monky.Examples.Battery
Description
- getBatteryHandle :: String -> String -> IO BatteryH
- getBatteryHandle' :: String -> IO BatteryH
- data BatteryH
Documentation
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