monky-2.2.1.0: A system state collecting library and application

Maintainerongy, moepi
Stabilitytesting
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

Monky.Examples.Battery

Description

 

Synopsis

Documentation

getBatteryHandle Source #

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 BatteryH Source #

Version of getBatteryHandle that defaults to BAT0

data BatteryH Source #

The handle type for this module