maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Battery Tests, Homemade 3000mAh XL Battery & Q&A (POST #1) - New Layout (https://talk.maemo.org/showthread.php?t=65568)

retsaw 2011-05-06 08:34

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
Quote:

Originally Posted by iscio (Post 1001022)
mmm....I imported the new script but there is an error...it show -55% and the background is trasparent...

I don't know what to say, I went into Queen Beecon deleted the command, download the file I posted, imported it into Queen Beecon, and it works for me.

Post the output of "hal-devices | grep voltage.current", maybe there is something unusual showing up.

iscio 2011-05-06 09:29

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
mmm...the output is hal-devices: not found

do you have bq27x00 module?

retsaw 2011-05-06 11:13

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
Sorry that command should be "hal-device | grep voltage.current", the extra "s" just slipped in when typing. And yes I do have that module.

iscio 2011-05-06 11:30

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
1 Attachment(s)
Quote:

Originally Posted by retsaw (Post 1001117)
Sorry that command should be "hal-device | grep voltage.current", the extra "s" just slipped in when typing. And yes I do have that module.

this is the screenshot



is it possible a conflict with led pattern editor? because when I insert your qbw the led blink in error mode

retsaw 2011-05-06 11:57

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
1 Attachment(s)
It's because you one of the reading (the one used by default) is reading 3mV, most odd, but explains the negative percentage readings. Try this version which will always use the higher value.

toxaris 2011-05-06 12:42

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
Quote:

Originally Posted by retsaw (Post 1001144)
It's because you one of the reading (the one used by default) is reading 3mV, most odd, but explains the negative percentage readings. Try this version which will always use the higher value.

That made it. Works nice now.

iscio 2011-05-06 14:24

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
oookkk, now it seems to work very very well.
I see 40,0% and 3.760
I have only a trouble...in conky I see 46%....now I'd like to see what value is more right :-)

dr_frost_dk 2011-05-06 14:30

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
Quote:

Originally Posted by iscio (Post 1001214)
oookkk, now it seems to work very very well.
I see 40,0% and 3.760
I have only a trouble...in conky I see 46%....now I'd like to see what value is more right :-)

Well my value is right, this is a add-on from my testing battery's, and it is based on real tests made by professionals.

I have used a good 10hours making tests and then fitting the script to REAL results.

iscio 2011-05-06 14:33

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
ok, I'll use your beautifull script. But I have another question:
I see that your script uses a led notify for empty battery. Is there a conflict with led pattern editor or there are no problems? in led pattern editor I just set a led for battery empty.
Thank you

dr_frost_dk 2011-05-06 14:37

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
It just uses the error red blinking led setting, so you can edit that in led pattern editor if you want another pattern.

If you want to make it blink sooner or later then look at the script and edit the -lt 1 / -gt 1, it's in the bottom of the script.


All times are GMT. The time now is 05:01.

vBulletin® Version 3.8.8