power manager insists batter is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Gutsy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello! I've just updated from Feisty to Gutsy. I'm having a strange issue with the power manager. (I use Gnome for pretty much everything, btw.)
Each time I start up the computer, the power manager claims the battery's total capacity is only 33%, which probably means a bad or old battery. I'm almost sure that isn't the case (I have about the same uptime on a battery as when I bought the laptop, AFAIK). After the start-up finishes the power applet correctly shows the battery almost full, though.
I've also seen the manager at least once shutting down the computer with quite a lot of battery left (about a third), on a separate occasion.
I've read somewhere the power manager switched to a new battery estimator (I can't find where, though); apparently it needs a few battery cycles to "learn" the battery's behavior.
If that's true then it's still a bug: I think it should use the old heuristics until it has a reasonably good estimation (ie, it goes through a couple of full charge-discharge cycles with a better than, say, 5% estimate; restarts or time aren't good, as I often keep the computer plugged in for a few days). Otherwise, it can scare people with fake warnings, and can cause loss of work by shutting down with a full battery.
Confirmed. I've experienced shutdowns because policy actions are not taken until an accurate profile is built for a battery.
Old estimation should be used instead to take policy actions, until an accurate profile is built.