Bug 137283 - assumes minutes in /proc/pmu/battery_0 on ppc
Summary: assumes minutes in /proc/pmu/battery_0 on ppc
Status: RESOLVED UNMAINTAINED
Alias: None
Product: klaptopdaemon
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Paul Campbell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-13 13:29 UTC by Alexander Baldeck
Modified: 2010-02-26 14:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Baldeck 2006-11-13 13:29:46 UTC
Version:           0.0.1 (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          GNU gcc 4.1.1 
OS:                Linux

the systray application of klaptopdaemon assumes that the value for "time rem." in /proc/pmu/battery_* is presented in minutes. ever since 2.6.15 (didn't try earlier kernels) it has been there as number of seconds remaining, thus the time has to be devided by 60 to get minutes.

my patch can be found here:
http://cvs.archlinuxppc.org/viewcvs/kde/kdeutils/kdeutils-3.5.2-powermac-batterytime.patch?rev=1.1&cvsroot=extra&content-type=text/vnd.viewcvs-markup
(applies for later versions too)


machines:
iBook G4 (PowerBook6,3)
iBook G3 (PowerBook4,1)

environment:
ArchLinux PPC
kernel 2.6.15 - 2.6.19-rc5
kde 3.5.5
Comment 1 Dario Andres 2010-02-26 14:08:40 UTC
I have personally contacted the KLaptopDaemon author/assigned and he confirmed that the tool is deprecated in KDE SC 4 (replaced by PowerDevil) and that there are no current efforts to support/maintain the KDE SC 3 version.
Because of this, I will close the reports as UNMAINTAINED.
Regards