Active Topics

 


Reply
Thread Tools
D4rKlar's Avatar
Posts: 675 | Thanked: 923 times | Joined on Apr 2010 @ London
#171
Thank you for your reply mate!

Sorry for not being clearer, what I really was after was a command for QB or CEW that would just display the correct percentage, as opposed to the coloured Beecon with Voltage

Kind Regards,
D4rK
__________________
_________________________
_________________________________
_
* D4rKlar on DeviantART * Maemo5 on DeviantART *
_
* M4riNa D4rK Theme and Iconset *
_
 

The Following User Says Thank You to D4rKlar For This Useful Post:
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#172
for % showing and no color use this

Code:
x=$(hal-device | grep voltage.current | awk '{printf "%4.0f",$3}')
if [ $x -ge 4050 ];then
echo $x | awk '{printf "%3.1f", 85 + ($1 - 4050) / 12}{print "%"}'
fi
if [ $x -ge 3900 -a $x -lt 4050 ];then
echo $x | awk '{printf "%3.1f", 70 + ($1 - 3900) / 10}{print "%"}'
fi
if [ $x -ge 3800 -a $x -lt 3900 ];then
echo $x | awk '{printf "%3.1f", 50 + ($1 - 3800) / 5}{print "%"}'
fi
if [ $x -ge 3660 -a $x -lt 3800 ];then
echo $x | awk '{printf "%3.1f", 15 + ($1 - 3660) / 4}{print "%"}'
fi
if [ $x -ge 3600 -a $x -lt 3660 ];then
echo $x | awk '{printf "%3.1f", 5 + ($1 - 3600) / 6}{print "%"}'
fi
if [ $x -lt 3600 ];then
echo $x | awk '{printf "%3.1f", ($1 - 3300) / 60}{print "%"}'
fi
you might have to change beecon to snippet, this is the fist setting when you open options on the beecon (tool sign), this will ensure that there will be no background color change, the colors are set by the 'exit 0' codes

I personally like the color "warning" instead of having to concentrate on looking at %

and power wise im a bit of a 'pig' since i made the dual japod battery, no checking if i have bluetooth or 3G turned off and always using my brightness level 3 (custom brightness), and still i have not been in the 'crap i have to limit myself' situation

The battery testing thread is about done, would be nice to have a big mugen battery on the list also, but no one have PM me to donate or lend me one if they just have one laying around.

Im busy now looking at the next HW mod, this new mod is about increasing the SD storage capacity, will make a new thread if i can make it work.
 

The Following 3 Users Say Thank You to dr_frost_dk For This Useful Post:
D4rKlar's Avatar
Posts: 675 | Thanked: 923 times | Joined on Apr 2010 @ London
#173
haha thank you.... I just keep a couple of Japods in my pocket and swap when I have to

Looking forward to seeing the SD mod, good luck mate hope you get it working!

Kind Regards,
D4rKlar
__________________
_________________________
_________________________________
_
* D4rKlar on DeviantART * Maemo5 on DeviantART *
_
* M4riNa D4rK Theme and Iconset *
_
 

The Following User Says Thank You to D4rKlar For This Useful Post:
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#174
Originally Posted by miskooldfield View Post
after few more days of using this script i can say, that the method used for calculating percentage should be set as system default..
When the system meter reached zero, i still had almost 8 % left, and phone doesn't look like powering off at all. I didn't wanted the battery to drain completely as mine is more than one year old, and i really don't want to try whether it will survive that .
Just one more thank you for the good job. And by the way, if you know of a way, how the system battery meter (in the upper menu of desktop) can be "calibrated" with this script, please let me know. Meanwhile i will try to also find out if it is possible ...
-M.
Don't worry about your battery drained totally since the script is based on the phones own cutoff at 3.3V and your battery should cut off when it goes under 3V (danger level is 2.2V), since the script is based on the 3.3V = 0% you will probably not see 0% since the phone will go into shutdown mode.

side note on the minimum battery voltage, i was reviving an old laptop battery the other day and 1 of the 4 cells (14.8V) had a voltage of 2.1V and i was sure that it was dead but it charged up totally and is working so far.
This is just to say don't worry about the phone auto shutting off, since it does it within the limits of the battery, and before you ask, yes the battery is drained at this point discharging to 2.2V will yield max 5-10ma more from a normal 1320mAh battery.

And thank you very much miskooldfield for the nice feedback, i do what i can to make things close to perfect, this script is the result of 6+ hours of:
Discharging battery in intervals
Putting raw data in graph and Qbasic
adjusting and calculating in Qbasic to get the numbers to line up
getting things to work in UNIX terminal and QBW (also thanks to No!No!No!Yes!)

The script will be probably get updated to V2.0 when i get my own home built computer controlled battery charger discharger completed. This means my OLD compaq 486 laptop can get some action again
 

The Following 4 Users Say Thank You to dr_frost_dk For This Useful Post:
Posts: 8 | Thanked: 3 times | Joined on Jan 2011
#175
Originally Posted by dr_frost_dk View Post
[I]--- old news ---


Pictures will come soon....

This 3 mod has 2x Japod 1350mAh battery's and has a total of 2763mAh, a 109% increase in capacity from the stock original nokia battery but does cost 10$ more than mod 2.

So if you think this is useful just click "Thanks!"
Dear dr_frost_dk,

I've got 2 japods and back cover already. However, the japod connector is different from the connector mentioned in 2 mod. I tried to separate the connector with the battery and it is quite difficult and finally i tore the paper which separate + and - so there is no paper separate + and - . Is it okey for the battery?

Could you please post the 3 mod pictures?
 

The Following User Says Thank You to swijaya For This Useful Post:
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#176
Originally Posted by swijaya View Post
Dear dr_frost_dk,

I've got 2 japods and back cover already. However, the japod connector is different from the connector mentioned in 2 mod. I tried to separate the connector with the battery and it is quite difficult and finally i tore the paper which separate + and - so there is no paper separate + and - . Is it okey for the battery?

Could you please post the 3 mod pictures?
Yes they are really tricky to mod, that's why i gave up on reusing the connector from the japods and used a connector from the cheap crap battery from DX.
 

The Following User Says Thank You to dr_frost_dk For This Useful Post:
Posts: 8 | Thanked: 3 times | Joined on Jan 2011
#177
Originally Posted by dr_frost_dk View Post
Yes they are really tricky to mod, that's why i gave up on reusing the connector from the japods and used a connector from the cheap crap battery from DX.
I mean the paper which separates + and - attach on top of battery was completely torn. Will it damage the battery if I still try the steps in 2 mod ?
 

The Following User Says Thank You to swijaya For This Useful Post:
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#178
if you do the mod like me, you just need to put some paper around - (the isolated tab), as long as the wire/connection between - & - does not touch the frame of the battery since this i + than it's alright

Last edited by dr_frost_dk; 2011-01-22 at 21:10.
 
Posts: 50 | Thanked: 36 times | Joined on Aug 2010
#179
I just ordered a Mugen Cover. Thanks guys.

The price is $9.95 now with Free shipping

use coupon "5off2011" to get extra 5% off. Not a big deal but doesn't cost you anything.


I found some more BL-5J batteries to test but I am not sure it is worth the effort. They are all some random no-name Chinese stuff. It seems like the Japod has been the clear winner.

http://www.focalprice.com/MB245B/37V...l?SSAID=447047

http://www.tinydeal.com/1350mah-rech...k=1214717976uR

http://www.lightinthebox.com/Replace...utm_source=aff

http://www.dinodirect.com/nokia-5800...9&ref=AFFID-39

http://www.focalprice.com/MB097B/37V...l?SSAID=447047
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#180
Originally Posted by quanttrom View Post
I just ordered a Mugen Cover. Thanks guys.

The price is $9.95 now with Free shipping

use coupon "5off2011" to get extra 5% off. Not a big deal but doesn't cost you anything.


I found some more BL-5J batteries to test but I am not sure it is worth the effort. They are all some random no-name Chinese stuff. It seems like the Japod has been the clear winner.
Hehe they probably jacked up the price since they suddenly saw a higher interest in the cover only


Only 1300mAh so does not look interesting


Looks nice, it will be added to future test (February)


Only 1320mAh so does not look interesting


Looks nice, but the price system on that page seems very wierd...


Only 1100mAh so does not look interesting
 
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 02:33.