KevinTsui1234 / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
1 stars 0 forks source link

Battery applet reports negative percentage when AC is plugged in #442

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've notices 3.12 kernel reports battery charge_now value equal to 
charge_full_design when AC is plugged. This emerges negative battery percentage 
value.

HW: Dell Inspiron M5110 with vanilla 3.12.7 kernel running (Gentoo GNU/Linux 
~amd64).
tint2 version: tint2-0.11 with 
https://code.google.com/p/tint2/issues/detail?id=299 patch applied by Gentoo 
tint2 package maintainers.
AC plugged charge_now, charge_full, charge_full_design: 4400000, 2665000, 
4400000
AC unplugged charge_now, charge_full, charge_full_design: 2635000, 2665000, 
4400000

Proposed patch attached.

Original issue reported on code.google.com by santa....@gmail.com on 11 Jan 2014 at 5:15

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, fixed in r682.

Original comment by mrovi9...@gmail.com on 1 Feb 2015 at 11:42