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)

412b 2010-08-19 21:08

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by Fionn (Post 792307)
Thanks for the recent Diablo update.
I particularly like the single click for "Flight mode + Lock". :)

I just finally pushed it from extras-devel to extras ;)
unfortunatelly, now without Diablo device it's hard to finish the brand new version (((

DaSilva 2010-08-19 21:12

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by 412b (Post 792312)
why do i get required 'USING...' line...
do APM and AP work for you?

Yes, I think so:

Nokia-N900:~# start apmonitord
apmonitord (start) waiting
apmonitord (start) starting
apmonitord (start) pre-start
apmonitord (start) spawned, process 24606
apmonitord (start) post-start, (main) process 24606
apmonitord (start) running, process 24606

IceJunior 2010-08-19 21:33

Re: Pybattery - battery statusbar applet with candies
 
Code:

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

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

new version same issues... :(

412b 2010-08-19 22:03

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by IceJunior (Post 792355)
Code:

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

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

new version same issues... :(

There were no fixes made in fact, I'm keep on gathering info :)
Do you use kernel-power?

DaSilva 2010-08-19 22:17

Re: Pybattery - battery statusbar applet with candies
 
Yes I do. :)

EDIT: I have just installed 0.5.2-8 and rebooted and APMD was disconnected. After a click on the the icon it now says "Starting APMD" but the battery is still crossed out and it doesn't work :(

412b 2010-08-19 22:43

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by DaSilva (Post 792414)
Yes I do. :)

EDIT: I have just installed 0.5.2-8 and rebooted and APMD was disconnected. After a click on the the icon it now says "Starting APMD" but the battery is still crossed out and it doesn't work :(

And build 7 worked fine?
I' ll add some sudoers settings in build 9 of APMD and build 12 of APM to work correctly in 15 minutes :) So it can be started right from applet...

DaSilva 2010-08-19 22:44

Re: Pybattery - battery statusbar applet with candies
 
No, the same for build 7. I didn't know what you changed in build 8 (always the same changelog) so I just reported.

EDIT: Now the log says

Code:

Nokia-N900:~# cat /home/user/apmonitord.log
Advanced Power Monitor 0.5.2-8
RX-51_2009SE_10.2010.19-1_PR_MR0

Loaded modules (2/2): DeviceName OSVersion_Maemo

Loading wrappers...

LOADING battery
Loading packages list...
[L] Nokia's BME
[L] Dummy

and after the second try to start it I get

Code:

Nokia-N900:~# start apmonitord
apmonitord (start) waiting
apmonitord (stop) starting
apmonitord (stop) starting
apmonitord (stop) waiting
start: apmonitord respawning too fast, stopped

even with a stop apmonitord before that it says:

Code:

Nokia-N900:~# stop apmonitord
stop: Job not changed: apmonitord


AlMehdi 2010-08-19 22:49

Re: Pybattery - battery statusbar applet with candies
 
It's a long thread and it looks very cool. I have not read all of it.. the thing is. Do it have support for the Humanity-theme? I am using the Humanity-theme and the place for the battery is empty. In the OP it didn't say it supported Humanity-theme so i guess it does not. Is there a howto to make it support Humanity-theme?

I do not know how it works.. but wouldn't it be better if you put the icons in "/usr/share/icons/hicolor" so that all themes would be supported? Or would that be bad?

412b 2010-08-19 23:01

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by DaSilva (Post 792453)
No, the same for build 7. I didn't know what you changed in build 8 (always the same changelog) so I just reported.

EDIT: Now the log says

Code:

Nokia-N900:~# cat /home/user/apmonitord.log
Advanced Power Monitor 0.5.2-8
RX-51_2009SE_10.2010.19-1_PR_MR0

Loaded modules (2/2): DeviceName OSVersion_Maemo

Loading wrappers...

LOADING battery
Loading packages list...
[L] Nokia's BME
[L] Dummy

and after the second try to start it I get

Code:

Nokia-N900:~# start apmonitord
apmonitord (start) waiting
apmonitord (stop) starting
apmonitord (stop) starting
apmonitord (stop) waiting
start: apmonitord respawning too fast, stopped

even with a stop apmonitord before that it says:

Code:

Nokia-N900:~# stop apmonitord
stop: Job not changed: apmonitord


It seems not to fail using correct wrapper according to output.
Here comes one more debug command:
Code:

python /opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py

412b 2010-08-19 23:05

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by AlMehdi (Post 792458)
I do not know how it works.. but wouldn't it be better if you put the icons in "/usr/share/icons/hicolor" so that all themes would be supported? Or would that be bad?

It uses standard Maemo icons (which are already in /usr/share/icons/hicolor), nothing custom. So the question is what going on with non-standard themes :)


All times are GMT. The time now is 23:04.

vBulletin® Version 3.8.8