Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176132 - cpufreqd doesn't detect battery insertion/removal
Summary: cpufreqd doesn't detect battery insertion/removal
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 15:16 UTC by Renato Caldas
Modified: 2007-05-09 16:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Caldas 2007-04-26 15:16:56 UTC
I've been having some trouble with configuring cpufreqd to enter a temperature limiting mode when the laptop battery is inserted. This is useful to protect it from the high temperature damage. The thing is cpufreqd misbehaves when the battery is inserted/removed:

If I start cpufreqd with the battery disconnected, then it will report its status as -1% and select the performance mode. But if I reconnect it it won't detect the battery and keeps reporting the -1% battery life.

On the other hand if I start cpufreqd with the battery on it will report its status correctly (for instance 98%). But if I remove the battery its status just won't be updated (that is, it keeps the value it had before the removal).

This should be easily reproducible, and I believe the bug #1515288 from cpufreqd's sourceforge tracker is relevant.
Comment 1 Renato Caldas 2007-04-27 15:54:58 UTC
Ok, the relevant usptream bug report is this one:

https://sourceforge.net/tracker/?func=detail&atid=489239&aid=1708807&group_id=58904
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-09 16:45:21 UTC
tracking this upstream. Please reopen in case we got a patch to add in gentoo