Reply
Thread Tools
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#1021
Any plans to get those battery capacity scripts to deb package and to devel-repository?
Would save from lots of questions and noise.

Last edited by zimon; 2011-10-08 at 17:53.
 

The Following User Says Thank You to zimon For This Useful Post:
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#1022
i am trying estels battery measurement. i am getting this.plzz help.

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# bq27200.sh
-sh: bq27200.sh: Permission denied
Nokia-N900:~# chmod +x /usr/bin/bq27200.sh
Nokia-N900:~# bq27200.sh
Need ./i2cget
Nokia-N900:~#
__________________
PR 1.3
CSSU (TESTING)
KERNEL POWER 49
BACKUPMENU
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#1023
Originally Posted by trisha02 View Post
Nokia-N900:~# bq27200.sh
-sh: bq27200.sh: Permission denied
Nokia-N900:~# chmod +x /usr/bin/bq27200.sh
Nokia-N900:~# bq27200.sh
Need ./i2cget
Nokia-N900:~#
Try this:
# which i2cget
 
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#1024
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# chmod +x /usr/bin/bq27200.sh
Nokia-N900:~# bq27200.sh
Need ./i2cget
Nokia-N900:~# which i2cget
/usr/sbin/i2cget
Nokia-N900:~#

got this. now? and what is this battery caliberating? how does it help?
__________________
PR 1.3
CSSU (TESTING)
KERNEL POWER 49
BACKUPMENU
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#1025
Originally Posted by trisha02 View Post
Nokia-N900:~# chmod +x /usr/bin/bq27200.sh
Nokia-N900:~# bq27200.sh
Need ./i2cget
Nokia-N900:~# which i2cget
/usr/sbin/i2cget
Now, before you run bq27200.sh script, go to /usr/sbin/

# cd /usr/sbin/
# bq27200.sh

Run those two command lines when your battery is fully loaded and you detach it from the charger.

Use your phone normally until battery starts to get almost empty.
Then run following commands again in xterminal window and leave it running.
# cd /usr/sbin
# bq27200.sh 10

Use your phone normally until battery goes fully empty and the device shuts down. You can connect the charger after the phone has shut down.

Now when you boot your device back up, you can see the true measured capacity of your battery by running:
# cd /usr/sbin/
# bq27200.sh

(One reason why it is this "complicated" is because bq27200.sh script has a bug; hardcoding i2cget path.)

Last edited by zimon; 2011-10-08 at 19:35.
 

The Following 2 Users Say Thank You to zimon For This Useful Post:
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#1026
Originally Posted by zimon View Post
Now, before you run bq27200.sh script, go to /usr/sbin/

# cd /usr/sbin/
# bq27200.sh

Run those two command lines when your battery is fully loaded and you detach it from the charger.

Use your phone normally until battery starts to get almost empty.
Then run following commands again in xterminal window and leave it running.
# cd /usr/sbin
# bq27200.sh 10

Use your phone normally until battery goes fully empty and the device shuts down. You can connect the charger after the phone has shut down.

Now when you boot your device back up, you can see the true measured capacity of your battery by running:
# cd /usr/sbin/
# bq27200.sh

(One reason why it is this "complicated" is because bq27200.sh script has a bug; hardcoding i2cget path.)
just letting u kno. i searched thru file box in usr/sbin.there was no such file as bq27200. should i copy the bq27200 file from usr/bin to usr/sbin and then execute the commands?

and one more question.what is the advantage of doing this?
__________________
PR 1.3
CSSU (TESTING)
KERNEL POWER 49
BACKUPMENU
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#1027
Originally Posted by trisha02 View Post
just letting u kno. i searched thru file box in usr/sbin.there was no such file as bq27200. should i copy the bq27200 file from usr/bin to usr/sbin and then execute the commands?

and one more question.what is the advantage of doing this?
1) bq27200.sh is in /usr/bin (a kludge. should be in /usr/local/bin), which is in your PATH-environment variable so dont care about where it is, just run it when in /usr/sbin where i2cget is for you.

2) It is nice to know.

Last edited by zimon; 2011-10-09 at 05:49. Reason: asdgf
 

The Following User Says Thank You to zimon For This Useful Post:
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#1028
i am still getting this.


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# chmod +x /usr/bin/bq27200.sh
Nokia-N900:~# bq27200.sh
Need ./i2cget
Nokia-N900:~# which i2cget
/usr/sbin/i2cget
Nokia-N900:~#

can u guide me with commands. i placed bq27200 both is usr/bin usr/sbin and usr/local/bin. and i2cget is in usr/sbin ( by default) and i placed it in also in ./
__________________
PR 1.3
CSSU (TESTING)
KERNEL POWER 49
BACKUPMENU
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#1029
Originally Posted by trisha02 View Post

can u guide me with commands.
http://talk.maemo.org/showpost.php?p...postcount=1026
 
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#1030
i want to know something. what is this bq27200 and BME. i just figured out that of i type stop bme in terminal my cell doesnt charge. start bme undo it. what is this thing?
__________________
PR 1.3
CSSU (TESTING)
KERNEL POWER 49
BACKUPMENU
 
Reply

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

Thread Tools

 
Forum Jump


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