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)

tso 2008-12-27 00:50

Re: Pybattery - battery statusbar applet with candies
 
heh, how about swapping to the osso battery monitor at the time?

oh and from what i have observed, not even the icon is updated on adv-power while the tablet is in standby/sleep/idle.

i have seen the icon jump from half full to warning red when poking the screen awake...

412b 2008-12-27 17:38

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by YoDude (Post 252715)
For instance version 0.3.2 and themes installed well for me with a current N800. However, attempting to update with the latest version 0.3.3 broke the install.
It shows in "app manager", and it can be selected in "control panel" but it doesn't show in the status bar.

One more time: Don't forget to reboot after updating.

Quote:

Originally Posted by bunanson (Post 252720)
Excuse my working knowledge of advanced-power, does it has to be continuously 'sampling' in order to generate the data, for example, battery %?

Some part of data ('autoupdating' items) are updated asynchronously via dbus signals. And switching all the items won't stop monitoring (in stable version), I've got some patch in experimental tree, but it can never be released.

Quote:

Originally Posted by tso (Post 252730)
oh and from what i have observed, not even the icon is updated on adv-power while the tablet is in standby/sleep/idle.

i have seen the icon jump from half full to warning red when poking the screen awake...

Well, icon is not updating only when device is switched off :)
That charge jumps are system-related, so behavior in inactive state depends on the system behavior (in fact, signals emitting).

YoDude 2008-12-27 22:02

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by 412b (Post 252841)
One more time: Don't forget to reboot after updating.
...

Yeah I did reboot... about 6 different times. After an update with themes installed, after a fresh install, after a reinstall with no themes and then an update, then finally after leaving just the previous version installed... The status bar icon would only show with version 0.3.2.

In fact, one of the times I installed 0.3.3 the screen blinked during install and went from normal to full screen then back. After app manager was done I found that the home screen crashed and had reset my applets and panels.

tehforum 2008-12-27 23:09

Re: Pybattery - battery statusbar applet with candies
 
I got unable to install

python2.5-gnome
python2.5-hildondesktop
hildon-desktop-python-loader

On my Nokia N810 - latest firmware. I don't know where I can go next.
Edit:
Read page 17, it has enlightened me.
----------

I go into Control panel -> Personalisation -> Panels -> Status bar > Advanced Power > Check box > OK.

And it doesn't show up in the status bar. I have the "Plankton" theme installed if that helps. I also tried the default them (Echo), with no luck.

Thanks.

412b 2008-12-27 23:27

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by tehforum (Post 252891)
I got unable to install

python2.5-gnome
python2.5-hildondesktop
hildon-desktop-python-loader

On my Nokia N810 - latest firmware. I don't know where I can go next.
Edit:
Read page 17, it has enlightened me.
----------

I go into Control panel -> Personalisation -> Panels -> Status bar > Advanced Power > Check box > OK.

And it doesn't show up in the status bar. I have the "Plankton" theme installed if that helps. I also tried the default them (Echo), with no luck.

Thanks.

Reboot?

Ok. I'm gonna release an early 0.3.4 with reboot confirmation and a couple of fixes. Just to be sure...

tehforum 2008-12-28 00:06

Re: Pybattery - battery statusbar applet with candies
 
Hi, thanks for your reply. I rebooted, and there was no luck with it showing up in the status bar.

The same thing happened with me with YoDude, but I haven't tried the previous version.

412b 2008-12-28 00:23

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by tehforum (Post 252900)
Hi, thanks for your reply. I rebooted, and there was no luck with it showing up in the status bar.

The same thing happened with me with YoDude, but I haven't tried the previous version.

Hmmm... Weird... I wonder, what could go wrong.
Perhaps, I'm gonna make a debug one version... Or there is one more variant...
Copy /usr/lib/hildon-desktop/advanced-power.py anywhere yoy like and edit that copy: remove # in the end of the file:
Code:

1095: p = advanced_power()
1098: p.destroy()

Then save it and run in xterm
Code:

run-standalone.sh python /path/to/modified/advanced-power.py
And post here or in PM the output...

412b 2008-12-28 00:25

Re: Pybattery - battery statusbar applet with candies
 
Meanwhile...
0.3.4
- FIXED: Zero time indication.
- UPDATED: Time left notifying.
- ADDED: Reboot menu after package install/update.

tehforum 2008-12-28 00:41

Re: Pybattery - battery statusbar applet with candies
 
I know how to navigate to that folder, but how do you copy the specific file to my internal memory card. What is the path to the root of the internal memory card? In the code tags you used, is that what I should replace those lines with?

Cruelkix 2008-12-28 00:41

Re: Pybattery - battery statusbar applet with candies
 
Rebootworked well for update. This is a great little upgrade to the defualt! Thanks!

As a note, all your custom settings return to default on update. Not a big deal, but you do seem to put out a lot of updates rather quickly :D


All times are GMT. The time now is 10:37.

vBulletin® Version 3.8.8