summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors/Batt.hs
AgeCommit message (Collapse)Author
2010-03-19Usage barsJose A Ortega Ruiz
Ignore-this: 63fd21a117029674e33a9c4419dbc4de ASCII art bars for a bunch of monitors. darcs-hash:20100319203324-748be-2f927aa0e16d8874e10a04f0245427d32e0e53ce.gz
2010-02-14Merge conflict resolutions in Parsers.hs and Batt.hsJose A Ortega Ruiz
Ignore-this: 12bf0ec7afc4ac855a69375ee1b3d163 darcs-hash:20100214191544-748be-68a449772d3eb68cc059bbeec955f81258c71d70.gz
2010-02-12Using /sys to read battery statusJose A Ortega Ruiz
Ignore-this: 5f2a97fd8be36211afd02ce488a2a7f1 darcs-hash:20100212023509-748be-558d92bc649f5c9067547c7fa5635396186cb316.gz
2010-01-20New Monitor option to specify minimum percentage widthJose A. Ortega Ruiz
Ignore-this: 5e0413c218f257c0db06f83665bd2e5 The new option, -p, is a number specifying how many characters the numerical part of percentages should take. Padding consists of whitespace. E.g. -p 3 makes '3%' appear as ' 3%'. The default value is 0, which means padding is disabled. darcs-hash:20100120215608-40885-2c2ac6718af740971dad491eea92947bae840163.gz
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