OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: BerndS on December 10, 2007, 12:49:40 pm
-
Hi,
while charging the battery of my SL3200 a process called "battchrgon" uses a lot CPU resources:
Mem: 61260K used, 1032K free, 0K shrd, 88K buff, 23352K cached
Load average: 27.00, 15.84, 8.21 (State: S=sleeping R=running, W=waiting)
PID USER STATUS RSS PPID %CPU %MEM COMMAND
5 root RW 0 1 48.3 0.0 battchrgon
6 root RW 0 1 18.1 0.0 battchrgoff
7 root RW 0 1 5.7 0.0 sharpsl_bat
3 root RWN 0 1 4.7 0.0 kapm-idled
431 root S 172 1 4.0 0.2 syslogd
4145 root R 344 4024 2.5 0.5 top
4249 root R 2588 1 2.2 4.1 python
4240 root R 2536 1 2.1 4.0 python
4292 root R 776 4119 2.1 1.2 apm
4259 root R 612 3608 2.0 0.9 fbpanel
4223 root R 2412 1 1.8 3.8 python
4289 root S 1284 4114 1.3 2.0 sh
4291 root S 648 4289 0.8 1.0 xset
4290 root S 648 4280 0.7 1.0 xset
4288 root S 648 4284 0.5 1.0 xset
585 root S 252 1 0.5 0.4 atd
4114 root S 2664 1 0.4 4.2 python
3570 root D < 1432 3569 0.4 2.2 X
3585 root S 200 3573 0.4 0.3 gconfd-2
4285 root S 648 4279 0.3 1.0 xset
4068 root D 508 1 0.3 0.8 python
What's this process doing and why does it uses about 50% of the CPU?
(I'm running weeXpc [pdaXrom 1.1.0beta3])
regards
Bernd
-
I don't know what the process is, but it's not a standard one. I suspect there's a bug in the code for it that's causing it to eat CPU cycles, but can't be sure.
-
Hi,
have you got mb-applet-powerctrl installed ?
Noticed the same processes on my C1k with pdaxii3, and i do believe after installing this applet. Unfortunately, can't proof this, because I'm installing Debian right now.
Hi,
while charging the battery of my SL3200 a process called "battchrgon" uses a lot CPU resources:
Mem: 61260K used, 1032K free, 0K shrd, 88K buff, 23352K cached
Load average: 27.00, 15.84, 8.21 (State: S=sleeping R=running, W=waiting)
PID USER STATUS RSS PPID %CPU %MEM COMMAND
5 root RW 0 1 48.3 0.0 battchrgon
6 root RW 0 1 18.1 0.0 battchrgoff
7 root RW 0 1 5.7 0.0 sharpsl_bat
3 root RWN 0 1 4.7 0.0 kapm-idled
431 root S 172 1 4.0 0.2 syslogd
4145 root R 344 4024 2.5 0.5 top
4249 root R 2588 1 2.2 4.1 python
4240 root R 2536 1 2.1 4.0 python
4292 root R 776 4119 2.1 1.2 apm
4259 root R 612 3608 2.0 0.9 fbpanel
4223 root R 2412 1 1.8 3.8 python
4289 root S 1284 4114 1.3 2.0 sh
4291 root S 648 4289 0.8 1.0 xset
4290 root S 648 4280 0.7 1.0 xset
4288 root S 648 4284 0.5 1.0 xset
585 root S 252 1 0.5 0.4 atd
4114 root S 2664 1 0.4 4.2 python
3570 root D < 1432 3569 0.4 2.2 X
3585 root S 200 3573 0.4 0.3 gconfd-2
4285 root S 648 4279 0.3 1.0 xset
4068 root D 508 1 0.3 0.8 python
What's this process doing and why does it uses about 50% of the CPU?
(I'm running weeXpc [pdaXrom 1.1.0beta3])
regards
Bernd
-
Hi,
have you got mb-applet-powerctrl installed ?
Yes, but that wasn't the owner of these processes:
I removed the mb-applet-powerctrl and rebooted the Zaurus and the processes are still there.
Strange -- does anybody else running pdaXrom has these processes also?
regards
Bernd
-
Hi,
for now I'm back to pdaxii3. u-boot made my heart stop while trying to install debian...
Will take a look, maybe I'm able to reproduce these processes. Just flashed pdaxii3, rebooting...
Hi,
have you got mb-applet-powerctrl installed ?
Yes, but that wasn't the owner of these processes:
I removed the mb-applet-powerctrl and rebooted the Zaurus and the processes are still there.
Strange -- does anybody else running pdaXrom has these processes also?
regards
Bernd
-
Just flashed a pdaxii3 out of the box (thanks meanie! )
And I've got these processes, too. PID 5,6,7, just exactly like yours. So that makes me believe them beeing part of the kernel.
But I have no idea, why these proc. consume 50% CPU
-
they're there to see how quickly they can discharge your battery
-
mb-applet-powerctrl check following with 2 seconds interval:
Call apm_read to get battery status
Read /proc/driver/battery/sharpsl_main_battery_voltage to get battery voltage when charging.
I have check my sl-c1000. There are battchrgon and battchrgoff running, but they do not eat so much CPU usuage, always be 0%, battchrgon get 15% once when charging.
Can you sure is it a problem of mb-applet-powerctrl?
-
Hi,
Can you sure is it a problem of mb-applet-powerctrl?
I deinstalled mb-applet-powerctrl and rebooted the Zaurus but the problem still exists. So it's not a problem caused by the mb-applet-powerctrl.
regards
Bernd
-
Hm. maybe an hardware related problem? Lot's of irqs firing up while charging?
Hi,
Can you sure is it a problem of mb-applet-powerctrl?
I deinstalled mb-applet-powerctrl and rebooted the Zaurus but the problem still exists. So it's not a problem caused by the mb-applet-powerctrl.
regards
Bernd