Battery Current 정보를 알아내는 위치



Nexus 4의 경우 Qualcomm PM 8921 

Nexus 5의 경우 Qualcomm PM 8941

Nexus 5x의 경우 Qualcomm PMI8994 Power Management IC (Also found in LG G4, HTC One M9, and OnePlus Two)

https://www.ifixit.com/Teardown/Nexus+5X+Teardown/51318


위 두개의 Internal Charge Controller Circuit이 존재하기 떄문에

Linux Kernel을 통해서 Current drain 정보 획득이 가능 하다.


획득된 정보의 단위는 mA 이다.

양수면 충전 중이고

음수면 방전 중이다.




cat /sys/class/power_supply/battery/current_now


아래의 오픈 소스 앱을 이용해도 대고

코드를 분석하면 앱도 만들 수 있다.

https://code.google.com/p/currentwidget/


Stack over flow 사이트

http://stackoverflow.com/questions/2439619/getting-the-battery-current-values-for-the-android-phone



GPU 정보


Gpubusy

adb -d shell cat /sys/class/kgsl/kgsl-3d0/gpubusy | awk '{print $1 / ($2+1)}‘

Utilization (0~1)


+ Recent posts