Reply
Thread Tools
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#221
I've tested v1.4 but it displays some strange values.

33.753 V and 2560.2 %

What do need to change in the script for fixing this?

Greetz,

..::J4ZZ::..
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#222
looked over the code and could not find any errors, but i have re-attached a new V1.4, try that one
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#223
Thanks for having a look, but it didn't made any differences. It seems to be a QBW issue. The same thing happens when I try v1.3.

I'm using QBW 1.3.3 if this helps.

I don't have problems with other widgets so far as I can tell.

???

Greetz,

..::J4ZZ::..
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#224
do you have any battery programs installed?, any special Kernels?
my QBW is also 1.3.3

could you try some terminal command:
Code:
hal-device | grep voltage.current
& 
hal-device | grep voltage.current | awk '{printf "%4.0f",$3}'
and post the results

Last edited by dr_frost_dk; 2011-02-11 at 13:09.
 
Posts: 619 | Thanked: 691 times | Joined on Feb 2010
#225
dr_frost_dk

I am about to do your double battery mod with 2 Pisen batteries.

Read your post but wanted some clarification.

1. How do you open the battery ? do you just prise it open ? My pisen batteries do not have screws or anything.

2. For your double battery mod, are you able to charge the double battery in a normal external desktop battery charger ?

3. Once you get the battery covers open, you solder a wire + to + and - to -. For 1 of the batteries, you retain the cover/circuit board, but for the other battery, you remove the cover/circuit board, is this correct ?

Thanks - I am not very good with hardware and soldering so any tips will be appreciated
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#226
Originally Posted by Frappacino View Post
dr_frost_dk

I am about to do your double battery mod with 2 Pisen batteries.

Read your post but wanted some clarification.

1. How do you open the battery ? do you just prise it open ? My pisen batteries do not have screws or anything.

2. For your double battery mod, are you able to charge the double battery in a normal external desktop battery charger ?

3. Once you get the battery covers open, you solder a wire + to + and - to -. For 1 of the batteries, you retain the cover/circuit board, but for the other battery, you remove the cover/circuit board, is this correct ?

Thanks - I am not very good with hardware and soldering so any tips will be appreciated
1. looking at the pisen battery i cannot see any screws, so the best way is to peal or cut of the cover just under the plastic top (3-5mm should do you can feel where it meets the actual battery cell)
Then gently "pull" the plastic up out a few mm, now you should see some wire (flat metal plate/wire)

2. im not using a desktop charger, but a charger connected to the mugen cover via the 2mm DC plug. But it should not pose any problems because it is still a standard battery but with a battery on top of it.

3. Yes both battery's are connected together, then the connection to 1x circuit board (plastic top) is made, use small wire here, some thing like power wire from a USB cable (RED/BLACK), this should be enough since it can take 500mA+. i recommend making a couple of slits in the plastic to take the wire out, because space is still scarce here length wise, so try your best to keep everything as "flat" as possible

sorry for still not having made a complete guide yet.
 

The Following User Says Thank You to dr_frost_dk For This Useful Post:
Posts: 619 | Thanked: 691 times | Joined on Feb 2010
#227
thanks mate - no issues about a complete guide - would be nice but appreciate you are taking time out to help others.

Will take a look tomorrow, my first time touching batteries like this so I need to be extra careful.
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#228
Originally Posted by dr_frost_dk View Post
do you have any battery programs installed?, any special Kernels?
my QBW is also 1.3.3

could you try some terminal command:
Code:
hal-device | grep voltage.current
& 
hal-device | grep voltage.current | awk '{printf "%4.0f",$3}'
and post the results
1st command gives me
battery.voltage.current = 3 (0x3) (int)
battery.voltage.current = 3975 (0xf87) (int)

and 2nd
43969

If i use both with the & I'm getting
/bin/sh: syntax error: "&" unexpected

I'm using power46 kernel with the bleeding-edge wl modules.

Btw the old command execution widget uses
Code:
hal-device bme | awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc "%"} else {print "Chrg"}'
wich is showing normal percentage.

thx in advance

Last edited by J4ZZ; 2011-02-11 at 16:45.
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#229
Originally Posted by J4ZZ View Post
1st command gives me
battery.voltage.current = 3 (0x3) (int)
battery.voltage.current = 3975 (0xf87) (int)

and 2nd
43969

If i use both with the & I'm getting
/bin/sh: syntax error: "&" unexpected

I'm using power46 kernel with the bleeding-edge wl modules.

Btw the old command execution widget uses
Code:
hal-device bme | awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc "%"} else {print "Chrg"}'
wich is showing normal percentage.

thx in advance
have seen that dual reporting voltage before, cant remember what we did to fix it

This battery meter is more precise then the BME you refer to

what do you get if you type in terminal
Code:
lshal | grep battery.voltage
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#230
Code:
battery.voltage.current = 3858  (0xf12)  (int)
  battery.voltage.design = 4200  (0x1068)  (int)
  battery.voltage.unit = 'mV'  (string)
Is the output...

But you saying something about dual reporting voltage got me the right brainwave. I once read a guide wich had adding bq27x00_battery to /etc/modules and I never was really sure about why I had to do this.

So problem solved by removing this entry from /etc/modules and rebooting.

Widget is working fine now...

Thx a bunch

Greetz,

..::J4ZZ::..
 
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 12:11.