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-05 15:59

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

Originally Posted by iscio (Post 1000656)
if I delete the bq27x00 module the qbw about temperature doesn't work again.
Is it possible to use both qbw

It should be possible to mod the script to make it work, I'll have a look at it later if no-one else posts a solution in the mean-time.

retsaw 2011-05-05 19:06

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
1 Attachment(s)
I've attached a fixed version of the Queen Beacon widget that should work whether or not the battery temp module is loaded. The caveat is that if the battery temp module is loaded it will use the voltage provided by that* which differs from the regular value.

*Probably, it uses the first value which in my tests was the value from the bq27x00_battery module, but I don't know if the order is fixed, for all I know it could change depending on conditions at boot time. If the order is fixed I can easily mod it to use the second value, but then it wouldn't work when the module wasn't loaded because there wouldn't be a second value, then it would require some added logic (and complexity) to determine what to do, but I could easily mod it so it used either the highest (or lowest) of the two values if anyone wants.

EDIT: Fixed attachment, so the checksum should be correct for import into Queen Beecon

dr_frost_dk 2011-05-05 19:57

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
hmm i must be rusty, only needed to add -m1....

Thanks retsaw :)
will update post #3 soon.

iscio 2011-05-05 20:30

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
I tried the release of retsaw but it give me bad checksum.

So I manually editing cmd but the qbw now is green but without text

dr_frost_dk 2011-05-05 20:44

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

Originally Posted by iscio (Post 1000842)
I tried the release of retsaw but it give me bad checksum.

So I manually editing cmd but the qbw now is green but without text

Use mine, and just put in the -m1 where he did, i of course have not tested this yet.

retsaw 2011-05-05 22:01

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

Originally Posted by iscio (Post 1000842)
I tried the release of retsaw but it give me bad checksum.

So I manually editing cmd but the qbw now is green but without text

Umm, ooops. :o TBH, I don't use QueenBeecon so I hadn't tested it and didn't notice it had a checksum, I just assumed the minor change would work. For myself I just use a simple script derived from the command in that widget when I want to check the battery level. The simple change I made was to add the option "-m1" to the grep commands, I don't know if it is necessary for the one which checks charging status, but there are two results from "hal-device" for the charging status, I noted the first one took a couple of minues to update after I plugged the charger in.

I would fix this, but dr_frost_dk will probably have his updated version out soon.
EDIT: I decided to fix it anyway, I modified the Queen Beecon widget properly and exported it, so it should work now, updated the attachment in my previous post.

@dr_frost_dk, while playing around with this I tried a few different ways, but decided this was simplest. Let me know if you want code that picks the highest/lowest value.

dr_frost_dk 2011-05-06 01:15

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
Want high battery lifetime/usage then look to the future devices

Like this phone, the screen is colour e-ink, and it when it is "passive" just displaying a picture with no change, it uses no electricity
I don't like the bend gestures and would just like normal touch, and there's also hope in that area, a new kind of screen with integrated capacitive touch sensors embedded between the pixels of the screen means that you can have capacitive screens with the accuracy of resistive screens

Really look forward to e-ink flat screen for the home (>32"), really low power consumption and no more sun glare, since you actually need light to view the image....


------------------------
Redsaw - the low and high is determined by -m1 or -m2 right?

iscio 2011-05-06 06:15

Re: Battery Tests, Homemade 3000mAh XL Battery & Q&A (GOTO POST #1!!!!!)
 
mmm....I imported the new script but there is an error...it show -55% and the background is trasparent...

Benson 2011-05-06 07:27

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...

Obviously, your battery is 55% charged and installed backwards. :p

J4ZZ 2011-05-06 07:50

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

Originally Posted by retsaw (Post 1000782)

EDIT: Fixed attachment, so the checksum should be correct for import into Queen Beecon

Thanks mate...

Everything is correct now.

Greetz,

..::J4ZZ::..


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

vBulletin® Version 3.8.8