summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors/Batt.hs
AgeCommit message (Collapse)Author
2010-02-10Batt: read energy_ if charge_ is not presentAndrea Rossato
Ignore-this: 76a24d0c8d89c239a2c9d8136f77f409ccb34f1a darcs-hash:20100210114505-d6583-ffe623e21b431c2d4d88b79dfb92a1f3af8ed9d8.gz
2010-02-09Batt: use sysfs to retrieve informationAndrea Rossato
Ignore-this: 06b7e637c2898c3abcc0959a077b8e418c0c15d4 darcs-hash:20100209104107-d6583-4cbd13d8e7194ce28831e2a106e0bd7078481f63.gz
2009-11-02Since ACPI reads can be slow, use a helper /bin/cat process to perform themsvein.ove
Ignore-this: ae34afa8524d6cfb6baab8eb6c3a3b85 darcs-hash:20091102173811-f57bf-470bb638c0c64ddc093c2238d600772525035ea0.gz
2008-03-16Add BatteryP a monitor for batteriesAndrea Rossato
With this monitor is possible to set specific location where to retrieve battery information. For example: Run BatteryP ["BAT0","BAT1","BAT2"] [] 10 this will read the following files: /proc/acpi/battery/BAT0/info and /proc/acpi/battery/BAT0/state /proc/acpi/battery/BAT1/info and /proc/acpi/battery/BAT1/state /proc/acpi/battery/BAT1/info and /proc/acpi/battery/BAT2/state darcs-hash:20080316160115-d6583-efd35abf7a6a1a40fcb5f97ec430783f40b3221d.gz
2007-09-12include BAT0 acpi battery status tooJens Petersen
darcs-hash:20070912065420-740ef-41785bf4355e312f735e9c6de26649c0ef5699b0.gz
2007-07-24Batt: we check if the file exists instead of catching an exceptionAndrea Rossato
darcs-hash:20070724170643-d6583-85533ce12993f9de7582b776e8d8644ac541ab81.gz
2007-07-24Batt: better error handlingAndrea Rossato
darcs-hash:20070724114047-d6583-3006b98cf7421b40d1723047ea3c7fc89136ce7b.gz
2007-07-24Batt.hs: refactor to reduce resource usageAndrea Rossato
darcs-hash:20070724094402-d6583-3dcd0ad09f538cfa4d34ff7ad636e8b179866500.gz
2007-07-19Moved battery line parsing into the Maybe monad.Krzysztof Kosciuszkiewicz
darcs-hash:20070719101505-ba08c-99b2005230d97d19f73c7dfdb7ba328bc4046063.gz
2007-07-19Safer parsing without parsec in battery monitorKrzysztof Kosciuszkiewicz
darcs-hash:20070719015530-ba08c-065e9572b186c12db8236c28fa249793eba51e32.gz
2007-07-16Fix parsing and processing data in Batt monitor.Krzysztof Kosciuszkiewicz
Sometimes the monitor would crash due to bad index given to (!!). Now it should be safe, as parsing is done differently. darcs-hash:20070716003448-ba08c-4ae93a39919c2aee628825e5a9f7da8970dbcb8c.gz
2007-07-18Monitors are now a Plugin that can be removed from Config.hsAndrea Rossato
darcs-hash:20070718151211-d6583-7e0e49c22d07feda72d03370fd592c196dfcc9c1.gz