On Thu, 2010-05-06 at 14:04 +0100, Jon Farmer wrote: > On Thu, 2010-05-06 at 13:50 +0100, Bruno Girin wrote: > > On Thu, 2010-05-06 at 13:28 +0100, Jon Farmer wrote: > > > On Thu, 2010-05-06 at 13:10 +0100, Bruno Girin wrote: > > > > > > > Could it be related to bug #403303 [1]? > > > > > > > > [1] > > > > https://bugs.launchpad.net/ubuntu/+source/devicekit-power/+bug/403303 > > > > > > > > > It's a similar thing. However this is when I pull the power cord out of > > > a netbook such as when I take it from my desk to move to the other side > > > of the office for 5 mins. As soon as you unplug it the power manager > > > reports low battery and hibernates. As soon as you press the power > > > button after hibernation the power manager reports 100%. > > > > > > So right now I have 2 hours 5 mins, if I put the power cord in for 5 > > > secs and then pull it out then low power kicks in. > > > > According to the bug above, it depends how different processes check > > battery state in the case where the battery doesn't follow ACPI specs > > (as in the EeePC). > > > > To see if it's related, can you post the content > > of /proc/acpi/battery/BAT0/info please? > > Well it actually shows as /proc/acpi/battery/BAT1/info and contains > > present: yes > design capacity: 2200 mAh > last full capacity: 1964 mAh > battery technology: rechargeable > design voltage: 11100 mV > design capacity warning: 0 mAh > design capacity low: 0 mAh > capacity granularity 1: 1 mAh > capacity granularity 2: 1 mAh > model number: > > serial number: > > battery type: LION > > OEM info:
OK so this shows that it's not the same problem as the EeePC because the EeePC shows "last full capacity: 100 mAh" because its ACPI implementation reports a percentage rather than an mAh value. And should therefore be a new bug, as you just filed :-) Bruno -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/