Active Topics

 



Notices


Reply
Thread Tools
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#1
Hi!

QtBatteryWidget is just another battery widget for the N900.

It can display: voltage, charge, temperature and time left.
In the settings window you can choose the informations to display, the type of percentage (module bq27x00, standard or dr_frost_dk based on his battery meter widget), the percentage style (graphical, standard progressbar or textual) and the widget opacity.

The percentage and time left are updated when a dbus signal is emitted by the system, so time left can take some time to update.
If you want to update it click on the widget.

The time left is based on actual consumption (only if module bq27x00 or the command i2cget is present) or from the last percentage change.

The battery's graphic was made by Joppu
http://talk.maemo.org/showthread.php?t=31279

Screenshot:


Homepage: http://www.assembla.com/spaces/qtbatterywidget/wiki
Package: http://maemo.org/packages/view/qtbatterywidget/
Donations: https://www.paypal.com/cgi-bin/websc...=TGHNGBMN88YSC

Last edited by sakya; 2011-06-24 at 12:12.
 

The Following 13 Users Say Thank You to sakya For This Useful Post:
Posts: 65 | Thanked: 8 times | Joined on Jul 2010
#2
Originally Posted by sakya View Post
Hi!

QtBatteryWidget is just another battery widget for the N900.

It can display: voltage, charge, temperature and time left.
In the settings window you can choose the informations to display, the type of percentage (module bq27x00, standard or dr_frost_dk based on his battery meter widget), the percentage style (graphical, standard progressbar or textual) and the widget opacity.

The percentage and time left are updated when a dbus signal is emitted by the system, so time left can take some time to update.
If you want to update it click on the widget.

The time left is based on actual consumption (only if module bq27x00 or the command i2cget is present) or from the last percentage change.

Screenshot:


Homepage: http://www.assembla.com/spaces/qtbatterywidget/wiki
Package: http://maemo.org/packages/view/qtbatterywidget/
Donations: https://www.paypal.com/cgi-bin/websc...=TGHNGBMN88YSC
Just installed....looks cool...Nice work mate....however how is the value for "Time Left" calculated??? It's showing some value which does not make sense....(06:26 for battery at 68%)...what deos this mean....???
 
Posts: 24 | Thanked: 1 time | Joined on Apr 2010
#3
yeah...mine says 14.57 in time left with 72.9% battery. can't be 14 minutes right? but it can't be 14 hours too right?
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#4
Originally Posted by n900ak View Post
how is the value for "Time Left" calculated??? It's showing some value which does not make sense....(06:26 for battery at 68%)...what deos this mean....???
It's based on the actual power consumption, if you put the n900 in standby, wait some seconds and recheck the widget it will display a different value (mine is more than 48h with 72%).

It should display the time left depending on what you are doing with the device ("time left if you continue to do what you're doing").

I don't know how much precise is the power consumption value (taken from /sys/class/power_supply/bq27200-0/current_now or /usr/sbin/i2cget -y 2 0x55 0x14 w)...

Last edited by sakya; 2011-06-24 at 11:32.
 
joppu's Avatar
Posts: 780 | Thanked: 855 times | Joined on Sep 2009 @ Helsinki, Finland
#5
Nice work ahem utilizing my graphics without even asking. Not that I am complaining or anything.
 

The Following User Says Thank You to joppu For This Useful Post:
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#6
Originally Posted by joppu View Post
Nice work ahem utilizing my graphics without even asking. Not that I am complaining or anything.
Ops, sorry. I forgot where I found that battery graphic (I thought I found it with google, maybe I'm wrong).
I'll add a note in the about screen, or I'll remove it if you don't want me to use it.
 

The Following User Says Thank You to sakya For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#7
Looks nice, but uses just a little too much cpu for me (about 1-4%).
It would be acceptable for a program, but not for a widget constantly in the background (in my opinion that is).
Do other people experience the same cpu usage?
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#8
Originally Posted by ade View Post
Looks nice, but uses just a little too much cpu for me (about 1-4%).
It would be acceptable for a program, but not for a widget constantly in the background (in my opinion that is).
Do other people experience the same cpu usage?
It's the Qt progressbar, I cannot do anything (maybe I can try to use only images avoiding QProgressbar).
4% can happen when it's updating data; the preogressbar should take from 0.75 to 2/3%.
Try to set the textual style.

Last edited by sakya; 2011-06-24 at 12:37.
 
corduroysack's Avatar
Posts: 939 | Thanked: 366 times | Joined on Dec 2010 @ U.K.
#9
mine is using between 0 and 0.2% cpu and 2.3% mem

edit: in textual mode.
__________________
"I Reject Your Reality & Substitute My Own" Adam Savage
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#10
Originally Posted by sakya View Post
It's the Qt progressbar, I cannot do anything (maybe I can try to use only images avoiding QProgressbar).
4% can happen when it's updating data; the preogressbar should take from 0.75 to 2/3%.
Try to set the textual style.
Yep, switching to text mode definitely makes a cpu-use impact (in a positive way).
 
Reply


 
Forum Jump


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