Notices


Reply
Thread Tools
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#371
Originally Posted by 412b View Post
The problem is in lots of processes running at startup and the fact that APM(D) uses CPU a lot at startup. 2 minutes could be provided by jffs2_gcd_mtd4 process (for me it is so).
Here i have a serious problem. After some tests, i noticed that apm uses CPU all the time.
The python process has constantly load 0-6% and if cpu is set to on-demand it works on 400Mηz (and drains the battery). If i turn off the apm applet, this doesn't happen.
Is that a bug? Do you know of that?
 
Fionn's Avatar
Posts: 178 | Thanked: 53 times | Joined on Jul 2007 @ Ireland
#372
Originally Posted by 412b View Post
On the one hand, why not... Build 3 works as supposed. If you have build 2 or older, upgrade. If you have n810, upgrade.
On the other hand, I'm very interested in Saturn's test.py output...
Upgraded to the version in Extras on my n800.
Unfortunately had the same problem as Saturn i.e. applet not visible in the status bar.

How does one clean up the conf?
I have the gconf editor tool but it doesn't seem to have a delete option .

Edit: Advanced power doesn't appear to be in my Installed Applications list in Application manager.
I presume it didn't install correctly then? It reported that it had installed and prompted for a reboot .

When I look in the "Browse installable applications" list in Application manager it lists the following for advanced power:
Code:
advanced-power                       0.4.0-8
advanced-power-|10n-ru-ru            0.3.1-3
advanced-power-monitor               0.5.0-5

Last edited by Fionn; 2009-10-23 at 14:20.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#373
Originally Posted by gerstavros View Post
Here i have a serious problem. After some tests, i noticed that apm uses CPU all the time.
The python process has constantly load 0-6% and if cpu is set to on-demand it works on 400Mηz (and drains the battery). If i turn off the apm applet, this doesn't happen.
Is that a bug? Do you know of that?
It's really strange. When device goes to idle APM don't get any info, so don't use CPU.
My tests gave 0-1.9% of CPU use with all items turned on.
Can you provide top/htop output for APM?
E.g. attach apm.log from running
Code:
top -b | grep $(ps aux | grep 'AdvancedPower' | grep -v 'grep' | awk {'print $3'}) >> /home/user/MyDocs/apm.log
EDIT: And let it cycle for an hour or more. Be careful with diskspace

Last edited by 412b; 2009-10-23 at 17:48. Reason: Forgot to mention :)
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#374
Originally Posted by Fionn View Post
Upgraded to the version in Extras on my n800.
Unfortunately had the same problem as Saturn i.e. applet not visible in the status bar.

How does one clean up the conf?
I have the gconf editor tool but it doesn't seem to have a delete option .

Edit: Advanced power doesn't appear to be in my Installed Applications list in Application manager.
I presume it didn't install correctly then? It reported that it had installed and prompted for a reboot .

When I look in the "Browse installable applications" list in Application manager it lists the following for advanced power:
Code:
advanced-power                       0.4.0-8
advanced-power-|10n-ru-ru            0.3.1-3
advanced-power-monitor               0.5.0-5
Can you provide output of installing via apt-get or Application Manager log?
 
Posts: 89 | Thanked: 26 times | Joined on Nov 2008 @ Canada
#375
FYI: I cloned the operating system to the internal SD card last night, and now booting from the SD card I don't see the AP icon. I'll do some testing, reinstalling, etc. tonight to see if I can find an easy solution.

Thanks for all the work you do on this, 412b. It's a great addition to the tablets.
 
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#376
Originally Posted by Fionn View Post
[...]How does one clean up the conf?
I have the gconf editor tool but it doesn't seem to have a delete option .
[...]
With emelfm2 i had looked to all directories and deleted everything related to apm. Now i don't remember where, but i think you ll be fine if you delete the folder on /etc/osso-af-init/gconf-dir/apps/
 
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#377
Originally Posted by 412b View Post
It's really strange. When device goes to idle APM don't get any info, so don't use CPU.
My tests gave 0-1.9% of CPU use with all items turned on.
Can you provide top/htop output for APM?
E.g. attach apm.log from running
Code:
top -b | grep $(ps aux | grep 'AdvancedPower' | grep -v 'grep' | awk {'print $3'}) >> /home/user/MyDocs/apm.log
EDIT: And let it cycle for an hour or more. Be careful with diskspace
This command doesn't write anything.
When I said that python process has load all the time, i meant when the device is in use and i have opened the process manager of load-applet or running «top» in xterm.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#378
Originally Posted by gerstavros View Post
This command doesn't write anything.
When I said that python process has load all the time, i meant when the device is in use and i have opened the process manager of load-applet or running «top» in xterm.
This command writes to /home/user/MyDocs/apm.log output of top for AdvancedPowerMonitor process...
Alternatively you can post output of top.
 
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#379
Originally Posted by 412b View Post
This command writes to /home/user/MyDocs/apm.log output of top for AdvancedPowerMonitor process...
Alternatively you can post output of top.
But there is no output! The file was created but empty

I post from my desktop the output:
Code:
0.1 19.9 python
0.3
0.5
0.9
1.5
1.8
1.9
0.3
0.1
1.3
1.5
.......
Is that the cpu load?
load-applet shows 0-6% now

Last edited by gerstavros; 2009-10-23 at 19:06.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#380
Originally Posted by gerstavros View Post
But there is no output! The file was created but empty
Is that the cpu load?
load-applet shows 0-6% now
Hmmm, I've got the output, never mind, it's not important now
Yep, it's the CPU load...
My load-applet shows 0-1%.
What items do you have turned on?
 
Reply

Tags
applet, battery, python, statusbar


 
Forum Jump


All times are GMT. The time now is 14:24.