false battery-level reading forces "critical" suspend

Asked by Ken Sherwood

Frequently (but not uniformly), upon resume from suspend:

critical power level alert will appear,
battery applet continues to display accurate level (60%, 80%, 99% etc.)
and the laptop suspends immediately

Sometimes pressing the power button to resume from suspend will work; or forced "hard boot" but often the cycle repeats. Machine must be plugged into AC power to guarantee resume

This seems to occur regardless of the actual power level of the battery -- even 90+ percent

It seems as though on initial resume, whatever process should be polling the battery returns a faulty value.

Ubuntu 11.10 Unity and Unity 2D
also occurred in 11.04
Dell E4310

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu acpi Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug with acpi

Be sure you have the latest BIOS. This can help

Revision history for this message
Ken Sherwood (kwsherwood) said :
#2

I have the latest BIOS.

I wonder if there is a way to disable or postpone the initial polling of battery status? Or to block the critical shut-down.

Revision history for this message
seb.belese (seb-belese) said :
#3

Same problem for me on
Dell 6510
Dell 6520 (fresh oneiric install)

Also, the command
ls /proc/acpi/battery

Gives shows two batteries instead of one:
BAT0 BAT1

I also see two batteries in the applet (one full -the actual level- and one empty)

Maybe this bug si similar to Bug #838543

Revision history for this message
Ken Sherwood (kwsherwood) said :
#4

ls /proc/acpi/battery also shows two batteries in my case.

(There is only one physical battery in the system.

Can you help with this problem?

Provide an answer of your own, or ask Ken Sherwood for more information if necessary.

To post a message you must log in.