maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Pybattery - battery statusbar applet with candies (https://talk.maemo.org/showthread.php?t=24905)

IceJunior 2010-08-18 08:16

Re: Pybattery - battery statusbar applet with candies
 
For me it doe's not work. I installed it via Application Manager and rebooted the device. After that my CPU usage stucked at 100% (xorg) and I got a battery icon with a red cross in my status area.

Did I miss something?

Thanks :)

math2 2010-08-18 08:17

Re: Pybattery - battery statusbar applet with candies
 
After installation the CPU has a usage of 100% for Xorg. Afterinstall en restart it has a CPU-usage of 0-10% again.

IceJunior 2010-08-18 08:22

Re: Pybattery - battery statusbar applet with candies
 
..and it shows no in information for me... Just 'Starting APMD'

janezek 2010-08-18 10:10

Re: Pybattery - battery statusbar applet with candies
 
install it, status bar the same, only the 100% cpu usage of Xorg :S
reboot, the same, uninstall, still 100% cpu :S

what to do?

412b 2010-08-18 10:31

Re: Pybattery - battery statusbar applet with candies
 
I can confirm Xorg taking much CPU, but after reboot it came to normal state. I'm making some research to figure out the reasons.

What builds are used?
And please post output of
Code:

python /usr/lib/hildon-desktop/advanced_power.py 1

IceJunior 2010-08-18 11:38

Re: Pybattery - battery statusbar applet with candies
 
Code:

loaded. Starting gtk.main()
thats the output.

I use the newest version of the app I think.

Maybe it won't work because of the powerkernel?

412b 2010-08-18 11:56

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by IceJunior (Post 790339)
Code:

loaded. Starting gtk.main()

This means it starts correctly... Hmmm...
Can you also provide output of running as root
Code:

stop apmonitord
start apmonitord

in XTerm and content of /tmp/apmonitord.log after running?

Quote:

Originally Posted by IceJunior (Post 790339)
I use the newest version of the app I think.

It should be Advanced Power 0.4.1.-10 and Advanced Power Monitor 0.5.2-6

Quote:

Originally Posted by IceJunior (Post 790339)
Maybe it won't work because of the powerkernel?

I don't think it's the reason, because it's not working with straightly with kernel stuff, if standard battery applet works with power-kernel, then it also should. But test from power-kernel users is highly appreciated.

IceJunior 2010-08-18 12:09

Re: Pybattery - battery statusbar applet with candies
 
Content of the logfile

Code:

Advanced Power Monitor 0.5.2-4
Loaded modules (1/1): DeviceName

Loading wrappers...
Loading packages list...
LOADED:        Nokia's BME
LOADED:        Dummy
FAILED:        BME Free

and after stop/start the apmonitord the output is

Code:

apmonitord (start) waiting
apmonitord (start) starting
apmonitord (start) pre-start
apmonitord (start) spawned, process 1602
apmonitord (start) post-start, (main) process 1602
apmonitord (start) running, process 1602

My CPU usage of xorg is still 100%

gabby131 2010-08-18 12:21

Re: Pybattery - battery statusbar applet with candies
 
have same issue, but im glad its being looked after. thanks. :)

412b 2010-08-18 12:22

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by IceJunior (Post 790382)
Content of the logfile

Code:

Advanced Power Monitor 0.5.2-4
Loaded modules (1/1): DeviceName

Loading wrappers...
Loading packages list...
LOADED:        Nokia's BME
LOADED:        Dummy
FAILED:        BME Free


Is there line 'USING: Nokia's BME'? It should be in the log file.

Quote:

Originally Posted by IceJunior (Post 790382)
and after stop/start the apmonitord the output is

Code:

apmonitord (start) waiting
apmonitord (start) starting
apmonitord (start) pre-start
apmonitord (start) spawned, process 1602
apmonitord (start) post-start, (main) process 1602
apmonitord (start) running, process 1602

My CPU usage of xorg is still 100%

Yep... For unknown for me at the moment reason Xorg starts using CPU at the level of 100%, when apmonitord is stopped... Right after reboot it's normal on my device...


All times are GMT. The time now is 03:56.

vBulletin® Version 3.8.8