aboutsummaryrefslogtreecommitdiff
path: root/widgets/bat.lua
AgeCommit message (Collapse)AuthorFiles
2013-12-27bat: fix broken battery remaining time (was always N/A)Lyderic Lefever1
Bug was introduced in commit dc556e5415 and the new discharging symbol. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-22bat: expose information on battery wear and tearNormal Ra1
Modern batteries should expose information about their design capacity which we can compare to current capacity and deduce how much 'wear' the battery got and expose that as a negative value percentage. Feature sent in August took a while to convince the maintainer many modern batteries provide this information. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-15bat: Use a real minus sign for the charging statusMartin Ueding1
Previously, a simple hyphen (“-”) was used to show that the battery is discharging. The minus sign is a distinct char, and also distinct from the en-dash (“–”) and the em-dash (“—”). With this commit, I put in a unicode “MINUS SIGN” (0x2212) which I created with a Digraph in Vim `^k-2`. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18bat: metatable bugfix after lua52 portAdrian C. (anrxc)1
2012-06-18Ported vicious.widgets module to lua 5.2Arvydas Sidorenko1
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-03-04division by zero, if battery is full chargedJörg Thalheim1
If the battery state change from charging to full, power_now is reseted to zero for a little time. This cause division by zero, which was visible as a very big negative number because of the behaviour of string.format. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2011-11-20bat: fix time calculation, bug introduced in 350e924Adrian C. (anrxc)1
2011-11-19bat: another workaround for broken ACPI implementationsAdrian C. (anrxc)1
2011-07-12bat: better fix for missing rate in 31d7b2fAdrian C. (anrxc)1
Thanks to Ikke for debugging this.
2011-02-21bat: fixed "no such device" for current and powerAdrian C. (anrxc)1
2011-02-15bat: added power_now supportAdrian C. (anrxc)1
Looks like current_now will eventually be deprecated. Thanks to Conrad Calmez for finding this bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532000
2010-03-16bat: fixed module descriptionAdrian C. (anrxc)1
2010-03-15bat: fix battery detectionAdrian C. (anrxc)1
2010-03-14API: missing warg should not break awesomeAdrian C. (anrxc)1
2010-03-14API: transform widgets namespace table to a directoryAdrian C. (anrxc)1