Comment 39 for bug 194719

Revision history for this message
Khashayar Naderehvandi (khashayar) wrote :

For me, at least, the old behavior (i.e. gpm reporting twice the amount of actual batteries), also caused other issues, such as absurd notes on remaining power, suspend and other things being triggered when they shouldn't (and not triggered when they should), and so on.

I think we should try to fix this with patches from git, didn't someone mention here or on another related bug report that hal-git actually worked fine? I have been using the following two patches

http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=7430beeb6c6fd6c8e51c24df20fd53c526aed6e8
http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=f018f6480384e2607aa3cac6aad5f114b832ebc0

against the latest hardy hal package and most of my problems seem to be gone.

Right now, I only seem to have problems that I've always had (gpm saying I'm on battery power, when battery becomes fully charged, gpm saying suspend failed, when in fact it didn't, and so on).

I say, try with at least these patches before reverting 01_proc_sys_batteries.

Regards,
K.