OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> What Is Battchrgon And Why Does It Use About 50% Cpu?
BerndS
post Dec 10 2007, 09:49 AM
Post #1





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



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
Go to the top of the page
 
+Quote Post
Capn_Fish
post Dec 10 2007, 11:26 AM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



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.
Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 10 2007, 12:08 PM
Post #3





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



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. rolleyes.gif




QUOTE(BerndS @ Dec 10 2007, 06:49 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

Go to the top of the page
 
+Quote Post
BerndS
post Dec 10 2007, 12:28 PM
Post #4





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



QUOTE(LinuxGadget @ Dec 10 2007, 09:08 PM) *
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
Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 10 2007, 02:13 PM
Post #5





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



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...

QUOTE(BerndS @ Dec 10 2007, 09:28 PM) *
QUOTE(LinuxGadget @ Dec 10 2007, 09:08 PM) *
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

Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 10 2007, 02:15 PM
Post #6





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



Just flashed a pdaxii3 out of the box (thanks meanie! biggrin.gif )
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 unsure.gif

Go to the top of the page
 
+Quote Post
speculatrix
post Dec 11 2007, 01:58 PM
Post #7





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



they're there to see how quickly they can discharge your battery smile.gif
Go to the top of the page
 
+Quote Post
ecc_hy
post Dec 11 2007, 07:28 PM
Post #8





Group: Members
Posts: 127
Joined: 5-January 07
Member No.: 13,705



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?
Go to the top of the page
 
+Quote Post
BerndS
post Dec 12 2007, 12:32 PM
Post #9





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



Hi,

QUOTE(ecc_hy @ Dec 12 2007, 04:28 AM) *
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
Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 12 2007, 01:35 PM
Post #10





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



Hm. maybe an hardware related problem? Lot's of irqs firing up while charging?

QUOTE(BerndS @ Dec 12 2007, 09:32 PM) *
Hi,

QUOTE(ecc_hy @ Dec 12 2007, 04:28 AM) *
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

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 09:18 AM