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.)
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?
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.
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 ./
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?