Quote:
Originally Posted by armedmetallica
is there a way to get this into a script of some sort? I know nothing of linux or android... but tried to save a .sh file with these two lines:
PHP Code:
su cat /sys/devices/platform/sec-battery/power_supply/battery/batt_current_adc
i get an error saying that device batt is not found... it looks like the statement from the script got cut. i copy/pasted it from the post directly into notepad and saved as a .sh - could that be why?
|
Try
sudo cat /sys/devices/platform/sec-battery/power_supply/battery/batt_current_adc
Enter pssswd / grant perm from su app
Sent from my SAMSUNG-SGH-I717 using xda premium
Current Devices: Galaxy Note 2 (i317), Nexus 7, Galaxy Tab 8.9 LTE (i957), Nokia Lumia 900
BT: Moto H19txt, Moto Elite Sliver, Jawbone ERA, Jawbone JamBox, Dr. Dre BeatBox.. way too many more.
Past Devices - ATT S3 (i747), HTC Jetstream, GS2 (i777), Moto: Atrix 4g, Backflip, LG Thrill 3D, iPhone 4(S)/3G(S)/2G..BB 8300, Nokia N71, Moto: (v3x,v3xx,v3i, v60i, 720i, Startak) Samsung 530 flip, etc..on and on)
|