Bug 137283

Summary: assumes minutes in /proc/pmu/battery_0 on ppc
Product: klaptopdaemon Reporter: Alexander Baldeck <kth5>
Component: generalAssignee: Paul Campbell <paul>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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