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)

tz1 2009-01-28 16:31

Re: Pybattery - battery statusbar applet with candies
 
My battery had a similar problem. And it isn't merely low capacity, It was causing a reset when it was charging (and nearly full). Sometimes it would discharge rapidly or the time/capacity left would be way off and intermittent - sometimes it would go on and work fine, sometimes I'd hear the low battery beep in the evening.

Swapping batteries helped greatly.

prk60091 2009-01-28 16:37

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by tz1 (Post 260492)
My battery had a similar problem. And it isn't merely low capacity, It was causing a reset when it was charging (and nearly full). Sometimes it would discharge rapidly or the time/capacity left would be way off and intermittent - sometimes it would go on and work fine, sometimes I'd hear the low battery beep in the evening.

Swapping batteries helped greatly.

I *was* having that problem prior to swapping out batteries

prk60091 2009-01-28 17:36

Re: Pybattery - battery statusbar applet with candies
 
@2hours of watching cnn via worldtv99 via wifi I have 18.5% of battery left

we know that wifi burns battery so i do not find it unreasonable for only 2 hours of watching tv via wifi i will load an avi tomorrow and repeat w/o wifi on

attila77 2009-01-28 17:40

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by prk60091 (Post 260511)
we know that wifi burns battery so i do not find it unreasonable for only 2 hours of watching tv via wifi i will load an avi tomorrow and repeat w/o wifi on

Correct, my 4+ hour mplayer playback time is with flight mode enabled. Also, when copying, try to use a protocol that is less taxing on the CPU (for example, copying via FTP is lot cheaper battery-wise than doing it via SCP or SFTP, even though the speed of the copy is roughly the same).

tso 2009-01-31 03:01

Re: Pybattery - battery statusbar applet with candies
 
running both maemo default and AB, default see battery as low when AB see it as 0.3% and <1 min left.

and AB suddenly started reporting that when the last time i looked it was showing some 40% left on the battery.

seems it was able to keep goingg some 15 min web browsing after it reported the above. tho, thats on my crappy home wifi, where i need to use moderate power save for it to work...

blowfish23 2009-02-01 02:30

Re: Pybattery - battery statusbar applet with candies
 
I am wondering if I have a battery problem or if this is normal. I charge my n800 until it's fully charged, and it says 7 hours of use. I then use my tablet for about 1:45 hours and it starts giving me low battery warnings. What I was using it for during that time was some web browsing, playing a game, and chatting. After about 30 more minutes the low battery warnings become quite frequent. I have never waited for the battery to go dead before. My n800 was used altough in perfect condition so I'm not sure how much the previous owner used it. Is the battery just getting old, or is a little over 2 hours all I can expect from it? Or maybe it will go longer and I should just ignore the warnings? Also one other thing. I might buy off ebay a usb charger for my internet tablet that plugs into the charger port on the n800. Does anyone have one of these and do they work? THanks

bunanson 2009-02-01 16:20

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by prk60091 (Post 260511)
@2hours of watching cnn via worldtv99 via wifi I have 18.5% of battery left

we know that wifi burns battery so i do not find it unreasonable for only 2 hours of watching tv via wifi i will load an avi tomorrow and repeat w/o wifi on

This is almost 33% less, albeit it may be different A/V setting! And it is on your NEW battery, very disturbing

From http://www.internettablettalk.com/fo...ad.php?t=20117,
==================================================
If it is not mentioned, that means it is OFF, e.g. V+BT means only video and BlueTooth is on, all else are OFF, ie. audio/wifi are off.
__________________________________________________ _________
.......................N810..................N800. ...............770
Nokia menu........4.0......................3.5.......... .......3.0
To charge..........2.2......................2.2...... ............>8
V.....................5.8......................4.3 .................6.5
V+BT................5.6
V+w.................3.7
V+w+A..............3.4......................2.5
VV+w+A............3.1
VVV+w+A..........3.0
V+w...................-.......................4.1
V+2B..................-.......................6.1
V+4B..................-.......................7.3
mm+V+iGPS........8.1
mm+V+BT GPS.....-.......................7.5

Legion:
V.......... 1square of brightness
VV........ 2 sq of brightness
VVV...... 3 sq of brightness
A.......... 1 sq of audio
w............wifi
=================================================

I am thinking to repeat all these on the Diablo, in particular to the new A/V use.

bun

tso 2009-02-01 16:42

Re: Pybattery - battery statusbar applet with candies
 
err, last time i checked, diablo does not like it when one have wifi off and bluetooth on (that is wifi off as in offline/flight mode).

blowfish23 2009-02-02 22:31

Re: Pybattery - battery statusbar applet with candies
 
Quote:

I am wondering if I have a battery problem or if this is normal. I charge my n800 until it's fully charged, and it says 7 hours of use. I then use my tablet for about 1:45 hours and it starts giving me low battery warnings. What I was using it for during that time was some web browsing, playing a game, and chatting. After about 30 more minutes the low battery warnings become quite frequent. I have never waited for the battery to go dead before. My n800 was used altough in perfect condition so I'm not sure how much the previous owner used it. Is the battery just getting old, or is a little over 2 hours all I can expect from it? Or maybe it will go longer and I should just ignore the warnings? Also one other thing. I might buy off ebay a usb charger for my internet tablet that plugs into the charger port on the n800. Does anyone have one of these and do they work? THanks
Bump bump.

khalid 2009-02-03 01:57

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by blowfish23 (Post 261651)
Bump bump.

I have been having battery problems for the last couple of months. What I have found is battery will drop suddenly from 52%-53% to 0.3% and I get a low battery warning. I have continued using N800 to see how long does it really last and found that I could use it for another couple of hours before battery really goes dead and N800 shuts off. In those two hours battery level can jump back up after few hours of non-use.

Someone else had similar problem and solved it by replacing the battery. My battery is almost two years old. So it could be just the battery needs replacement.

tso 2009-02-03 02:10

Re: Pybattery - battery statusbar applet with candies
 
seems similar to something i experienced. watched the battery drop from ca 45% to 0.3, and keep thing going for anher half hour or so...

Matan 2009-02-04 11:21

Re: Pybattery - battery statusbar applet with candies
 
This behaviour might be the result of the battery's fuel gauge getting out of sync. See for example the section "Calibrate the notebook PC battery" here:
http://h20239.www2.hp.com/techcenter...attery_max.htm

Of course, no one really knows how Li-Ion batteries work, so this procedure might lower you battery's capacity, instead of calibrating the fuel gauge.

blowfish23 2009-02-04 15:58

Re: Pybattery - battery statusbar applet with candies
 
So basically, it says to fully charge the battery, make sure the device doesn't go to sleep, while you fully discharge the battery, and then you fully charge it again. That doesn't seem so risky. Probably the easiest way to make sure it doesn't go to sleep and to make the battery discharge fast is to play a long video, right?

prk60091 2009-02-04 16:30

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by Matan (Post 262015)
This behaviour might be the result of the battery's fuel gauge getting out of sync. See for example the section "Calibrate the notebook PC battery" here:
http://h20239.www2.hp.com/techcenter...attery_max.htm

Of course, no one really knows how Li-Ion batteries work, so this procedure might lower you battery's capacity, instead of calibrating the fuel gauge.

i know nothing and may be blowing smoke out of my you know what... but the oem batteries are not Li-Ion but are Li-Polymer see http://en.wikipedia.org/wiki/Lithium-polymer "When compared to the lithium-ion battery, Li-poly has a greater life cycle degradation rate. However, in recent years, manufacturers have been declaring upwards of 500 charge-discharge cycles before the capacity drops to 80%"

qole 2009-02-04 17:26

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by blowfish23 (Post 262054)
Probably the easiest way to make sure it doesn't go to sleep and to make the battery discharge fast is to play a long video, right?

Even better, stream a video over WiFi, over and over again. Write a script that just keeps looping:

Code:

mplayer http://some.video.site/video.wmv
I guess you could also just play something on WorldTV99 or something.

That should sap the battery quickly.

tz1 2009-02-04 17:50

Re: Pybattery - battery statusbar applet with candies
 
Running the Map application (with the GPS on?) seems to keep it "on" forever.

tehforum 2009-02-05 20:47

Re: Pybattery - battery statusbar applet with candies
 
There is supposed to be some light sensor function with this advanced battery app, right?

I don't have that. I have an N810

tz1 2009-02-11 14:51

Re: Pybattery - battery statusbar applet with candies
 
And this feature (which I did a quick hack in python):

http://www.internettablettalk.com/fo...ad.php?t=26445

Pause when the charger is disconnected and play when it starts (like when using a car charger).

412b 2009-02-11 15:30

Re: Pybattery - battery statusbar applet with candies
 
Been away for a while...

Quote:

Originally Posted by tehforum (Post 262337)
There is supposed to be some light sensor function with this advanced battery app, right?

I don't have that. I have an N810

Well, it should work... Is problem still there?

Quote:

Originally Posted by tz1 (Post 263738)
And this feature (which I did a quick hack in python):

http://www.internettablettalk.com/fo...ad.php?t=26445

Pause when the charger is disconnected and play when it starts (like when using a car charger).

No problem. It will be a part of "User controlled event handling", so I put a note about it in my roadmap.

allnameswereout 2009-02-11 15:34

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by prk60091 (Post 262065)
i know nothing and may be blowing smoke out of my you know what... but the oem batteries are not Li-Ion but are Li-Polymer see http://en.wikipedia.org/wiki/Lithium-polymer "When compared to the lithium-ion battery, Li-poly has a greater life cycle degradation rate. However, in recent years, manufacturers have been declaring upwards of 500 charge-discharge cycles before the capacity drops to 80%"

Interesting, so that means a device of 1,5 years old has about a battery life of 80% which is still reasonably good. If you keep that in mind and you really need 2 hours with your laptop while it only gives that when you initially bought it thats a big problem. But if your phone goes from 2 days to 1,5 days while you load it up every day anyway that is not an issue.

Benson 2009-02-11 18:03

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by prk60091 (Post 262065)
i know nothing and may be blowing smoke out of my you know what... but the oem batteries are not Li-Ion but are Li-Polymer.

Actually, Lithium-polymer batteries are lithium-ion batteries that use a polymer matrix gelled electrolyte instead of a conventional liquid electrolyte; saying that Li-po are not Li-ion is analogous to saying that AGM or gel batteries are not lead-acid. The polymer electrolyte gives more flexibility in packaging and better energy density, at some cost in high-current capability and battery life.

Most electrical stuff is the same, though; charging methods, voltages, hazards of explosion, etc.

critgo9 2009-02-12 04:02

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by Benson (Post 263777)
Actually, Lithium-polymer batteries are lithium-ion batteries that use a polymer matrix gelled electrolyte instead of a conventional liquid electrolyte; saying that Li-po are not Li-ion is analogous to saying that AGM or gel batteries are not lead-acid. The polymer electrolyte gives more flexibility in packaging and better energy density, at some cost in high-current capability and battery life.

Most electrical stuff is the same, though; charging methods, voltages, hazards of explosion, etc.

huh??? :confused::confused:

heelio 2009-02-22 23:49

Re: Pybattery - battery statusbar applet with candies
 
I have got a request/suggestion for this program. I did for a time have somehow managed to get the sounds of one of the Star Trek themes to overwrite the sounds of this app - and I liked the sound it made (like unto a cricket) when hooking to a charger better than the one you chose. Then I upgraded to the latest version and it went away.

Is there any way to make it so that I can choose among sounds when hooking to a charger? I would like something a bit louder at least, I really liked that cricket sound as I could hear it inside the unit's case. I would also like to see some kind of sound made (different than the first one) when the charger is de-tached. So I can tell without looking if it's charging or not.

Thanks for a great app, btw.

412b 2009-03-02 22:50

Re: Pybattery - battery statusbar applet with candies
 
Advanced Power 0.3.6
- ADDED: Volume forcing for playing sounds (unstable)
- UPDATED: Code clean up and a small burst of speed
- ADDED: Start Advanced Power Monitor Daemon option (when daemon is stopped)
- ADDED: Notifications about APMD connecting/disconnecting
- ADDED: Autoconnect to APMD on APMD start/restart
- ADDED: Custom battery alert level option
- ADDED: Free memory (free RAM + free swap) info
- FIXED: Items drag&drop issues with Up/Down buttons
- FIXED: Minor bugfixes
- UPDATED: Debian package rules
- ADDED: Initial support for non-maemo specific systems
- UPDATED: GConf registration

Advanced Power Monitor 0.4.1
- UPDATED: Code clean up (e.g. no cpu_governor_changed D-Bus mthod)
- UPDATED: Modules usage
- FIXED: 'Charger disconnected' handling
- UPDATED: Signals packaging
- FIXED: Crashing when reading /sys and /proc
- FIXED: 'cpu-governor' signal emiting
- UPDATED: Debian package rules
- ADDED: Initial support for non-maemo specific systems

Clean install (removing and installing) is highly recomended

Fionn 2009-03-18 19:50

Re: Pybattery - battery statusbar applet with candies
 
Thanks for this; it's a great improvement over the standard battery applet :).

It also deals with a big bugbear of mine with the standard applet where it shows seemingly 50% power for ages and then drops to "Low Battery" all of a sudden :(.

This power monitor solves this problem nicely with added utilities.

It does make me wonder why the standard applet is comparitively so poor though :confused:.

Laughing Man 2009-03-18 23:01

Re: Pybattery - battery statusbar applet with candies
 
Which one should I install? From reading the thread, I know that they're two different packages, but does one offer the functionality of both (say one is the lighter package?). Or do you need to install both to get the full benefit (say I want monitoring via graph and just something to replace my standard battery information).

412b 2009-03-18 23:20

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by Laughing Man (Post 272818)
Which one should I install? From reading the thread, I know that they're two different packages, but does one offer the functionality of both (say one is the lighter package?). Or do you need to install both to get the full benefit (say I want monitoring via graph and just something to replace my standard battery information).

AP is a statusbar applet, which gets info from APM. so if you want to have an applet you need to install both, if you just want to get the system info for your own app or smth else - install APM.

ksk 2009-04-05 16:05

Re: Pybattery - battery statusbar applet with candies
 
Thanks 412b for this applet... I have a rare issue. Every time i reboot my n810 i will need to start APMD manually... Is it a bug or it is conflicts with other apps?

I am using the latest version for both APM and AP... I have tried uninstall n install again... still same...

Thank you for any help here first =) I am a 1 month old n810 user ^_^

tso 2009-04-05 16:21

Re: Pybattery - battery statusbar applet with candies
 
do you have the services applet installed?

it got a pesky bug where it will restore services/daemons with to high a start number, resulting in them failing because other services that they depend on are not already running.

make sure that there is a S50apmd in /etc/rc2.d/.

if you find a S20apmd or anything with a number lower then 50, it should be renamed (mv) to S50apmd.

and you will need root access to do that...

seriously, that services applet should either be removed from repos or cleaned up, the interface is a accident waiting to happen.

ksk 2009-04-05 16:40

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by tso (Post 277637)
do you have the services applet installed?

it got a pesky bug where it will restore services/daemons with to high a start number, resulting in them failing because other services that they depend on are not already running.

make sure that there is a S50apmd in /etc/rc2.d/.

if you find a S20apmd or anything with a number lower then 50, it should be renamed (mv) to S50apmd.

and you will need root access to do that...

seriously, that services applet should either be removed from repos or cleaned up, the interface is a accident waiting to happen.

Ya, I have the services applet installed... was trying to removed it but still same... now i renamed the S20apmd to S50apmd and everything is working again :D

Thanks man !! :cool::cool::cool:

KristianW 2009-04-05 20:41

Re: Pybattery - battery statusbar applet with candies
 
Just started to study this thread at beginning and end,
and then went straight back to install !

REALLY NICE !

Thanks , 412b and all who helped !

attila77 2009-04-05 21:25

Re: Pybattery - battery statusbar applet with candies
 
Since we have flight mode and similar goodies in advanced power... Could we get a Bluetooth on/off option ? Turning it on is a major clickfest (you do the applications, settings, control panel, bluetooth, on, OK, close panel - mantra). Or, if there is a simpler way of enabling bluetooth, a hint would be very welcome :)

qwerty12 2009-04-05 21:35

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by attila77 (Post 277712)
Since we have flight mode and similar goodies in advanced power... Could we get a Bluetooth on/off option ? Turning it on is a major clickfest (you do the applications, settings, control panel, bluetooth, on, OK, close panel - mantra). Or, if there is a simpler way of enabling bluetooth, a hint would be very welcome :)

http://www.internettablettalk.com/fo...59&postcount=2

(taken from the excellent http://switchonbt.garage.maemo.org/)

412b 2009-04-05 22:09

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by attila77 (Post 277712)
Since we have flight mode and similar goodies in advanced power... Could we get a Bluetooth on/off option ? Turning it on is a major clickfest (you do the applications, settings, control panel, bluetooth, on, OK, close panel - mantra). Or, if there is a simpler way of enabling bluetooth, a hint would be very welcome :)

I can add it to AP 0.3.7 & APM 0.4.2 easily.

sarathmenon 2009-04-06 06:53

Re: Pybattery - battery statusbar applet with candies
 
I get this error while trying to install the latest version. Has anyone else run into it?
Code:

/home/user/MyDocs/.documents # dpkg -i *deb
(Reading database ... 18934 files and directories currently installed.)
Preparing to replace advanced-power 0.3.6 (using advanced-power-0.3.6-1_all.deb) ...
Unpacking replacement advanced-power ...
Preparing to replace advanced-power-monitor 0.4.1 (using advanced-power-monitor-0.4.1-2_all.deb) ...
invoke-rc.d: not a symlink: "/etc/rc2.d/S50apmd"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S50apmd"
dpkg: warning - old pre-removal script returned error exit status 102
dpkg - trying script from the new package instead ...
invoke-rc.d: not a symlink: "/etc/rc2.d/S50apmd"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S50apmd"
dpkg: error processing advanced-power-monitor-0.4.1-2_all.deb (--install):
 subprocess new pre-removal script returned error exit status 102
invoke-rc.d: not a symlink: "/etc/rc2.d/S50apmd"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S50apmd"
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 102dpkg: dependency problems prevent configuration of advanced-power:
 advanced-power depends on advanced-power-monitor (>= 0.4.1); however:
  Package advanced-power-monitor is not configured yet.
dpkg: error processing advanced-power (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 advanced-power-monitor-0.4.1-2_all.deb
 advanced-power


qwerty12 2009-04-06 07:00

Re: Pybattery - battery statusbar applet with candies
 
http://www.internettablettalk.com/fo...70&postcount=7

bobloadmire 2009-04-06 07:38

Re: Pybattery - battery statusbar applet with candies
 
i got the following error while installing the second package.

missing package: python2.5 Hildon-desktop


i have been searching, but i cannot figure out whats up. My tablet is functioning fine, i have no idea whats up. I tried in red pill mode too.

daperl 2009-04-06 08:02

Re: Pybattery - battery statusbar applet with candies
 
Try as root:

apt-get install python2.5-hildondesktop

Laughing Man 2009-05-09 03:59

Re: Pybattery - battery statusbar applet with candies
 
Silly question, but how do you get the graphs to show up?

412b 2009-05-09 08:52

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by Laughing Man (Post 285804)
Silly question, but how do you get the graphs to show up?

Me? What graphs?


All times are GMT. The time now is 20:48.

vBulletin® Version 3.8.8