Most recent kernel where this bug did not occur: NA Distribution: Gentoo Hardware Environment: Samsung R70 Laptop Software Environment: Problem Description: The battery level is not displayed correctly though any software supporting acpi. I tested with /proc/acpi/battery/bat1/{state && info}. This is /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charged present rate: 0 mA remaining capacity: 5586 mAh present voltage: 12477 mV And this is /proc/acpi/battery/BAT1/info present: yes design capacity: 5200 mAh last full capacity: 5700 mAh battery technology: rechargeable design voltage: 11100 mV design capacity warning: 0 mAh design capacity low: 171 mAh capacity granularity 1: 1 mAh capacity granularity 2: 1 mAh model number: serial number: battery type: LION OEM info: SAMSUNG Electronics The problem is: I have it most the time connected to the charger, lecture sometimes is that charge is 5700, and thus, 100%, and sometimes it gets stuck at 97% (like now: 5586). Other odd thing is that battery is designed to have a capacity of 5200 mAh by design, but last full capacity (wich can be reached sometimes) is 5700.. This may confuse ACPI related programs so I dunno what to do. I don't think anyway that this is related to theese other programs, as this behaviour is the same for all programs I tested, so it must be something of ACPI controller. Should you need any more information, just tell me and I'll post it. Steps to reproduce:
do you see different numbers for this hardware when booted in windows?
Len, I have seen a lot of batteries which show 'last full capacity' smaller or greater than 'design capacity', and (as I know) there are not ACPI related programs that may be confused because of this. Also, windows does not show 'last full capacity', at least I do not know how to get one.
(In reply to comment #1) > do you see different numbers for this hardware when booted in windows? > Can't test because I don't use windows for anything..
(In reply to comment #2) > Len, > I have seen a lot of batteries which show 'last full capacity' smaller or > greater than 'design capacity', and (as I know) there are not ACPI related > programs that may be confused because of this. > Also, windows does not show 'last full capacity', at least I do not know how > to > get one. > By programs confusing with that numbers I mean the possibility to calculate percent of battery with (last_full_capacity/current_capacity)*100 Or is it calculed directly by ACPI drivers? In that case I suggest: percent=current_capacity>design_capacity ? 100 : (design_capacity/current_capacity)*100;
ACPI does not calculate percents. This is a some userspace utility.
Modern chargers have a threshold then they do not start, 97% might be easily inside this threshold. If you discharge your battery a little bit more, say to 85%, and connect charger, it should charge until 100% again.