Active Topics

 


Reply
Thread Tools
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#591
Originally Posted by iscio View Post
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.
 
Posts: 270 | Thanked: 37 times | Joined on Sep 2010
#592
mmm...the output is hal-devices: not found

do you have bq27x00 module?
 
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#593
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.

Last edited by retsaw; 2011-05-06 at 11:17.
 
Posts: 270 | Thanked: 37 times | Joined on Sep 2010
#594
Originally Posted by retsaw View Post
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
Attached Images
 
 
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#595
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.
Attached Files
File Type: txt BatMeterV1.6.txt (3.0 KB, 127 views)
 
Posts: 424 | Thanked: 196 times | Joined on Mar 2010 @ Sweden
#596
Originally Posted by retsaw View Post
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.
 
Posts: 270 | Thanked: 37 times | Joined on Sep 2010
#597
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's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#598
Originally Posted by iscio View Post
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.
 
Posts: 270 | Thanked: 37 times | Joined on Sep 2010
#599
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's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#600
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.
 
Reply

Tags
battery, battery test, best battery, good bad ugly, modding, mugen battery, scud battery, tool got banned, yasirrfc


 
Forum Jump


All times are GMT. The time now is 08:24.