|
2011-08-27
, 13:10
|
Posts: 529 |
Thanked: 194 times |
Joined on Aug 2010
@ UK
|
#1352
|
I'm writing small script where I get battery level as following:
full=`cat /sys/class/power_supply/bq27200-0/charge_full`
now=`cat /sys/class/power_supply/bq27200-0/charge_now`
echo "Battery at `expr $now \* 100 \/ ${full}`%"
But it doesn't work with KP48
What should I do instead?
|
2011-08-27
, 18:39
|
Posts: 915 |
Thanked: 57 times |
Joined on Jun 2011
|
#1354
|
|
2011-08-27
, 18:46
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#1355
|
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2011-08-27
, 19:00
|
Posts: 14 |
Thanked: 5 times |
Joined on Jun 2010
|
#1357
|
Yep BH-214 disconnects after around 10-30 seconds.
If you listen closely as I remember you can hear rasp or a beep, after that its disconnected.
But this doesnt have to do with KP48, its the same in KP47 and stock kernel too (I think).
As far as I know the only BT HS that works flawless i BH-903.
N900 BT compability isnt that topnotch
The Following User Says Thank You to Darkslayer For This Useful Post: | ||
|
2011-08-27
, 19:31
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#1358
|
i became root. started leafpad with no file from x-terminal.wrote something and saved as. no crash. what steps reproduce this?
|
2011-08-27
, 19:36
|
Posts: 136 |
Thanked: 115 times |
Joined on Jul 2010
@ Greece
|
#1359
|
|
2011-08-27
, 20:04
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#1360
|
Tags |
battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou |
|
Now. Make sure both your computer and your N900 have an IP address and a proper routing table (= are connected to the internet, try loading the google.com webpage or whatever).
If both are connected, then ssh from your computer to your N900. If it doesn't work, report on another thread (or possibly in another forum, as the problem might be related to your connection, cable modem, etc, etc.)
Good luck. But please stop "spamming" (whether you agree with the term or not), because your problem is NOT related to KP48.