adb shell (dumpsys)
查看電池狀態
直接下指令就可以了
就會顯示出:
Current Battery Service state:
AC powered: false
USB powered: true
status: 2
health: 2
present: true
level: 26
scale: 100
voltage:3747
temperature: 318
technology: Li-ion
其他使用法如下:
直接下指令就可以了
adb shell dumpsys
battery
就會顯示出:
Current Battery Service state:
AC powered: false
USB powered: true
status: 2
health: 2
present: true
level: 26
scale: 100
voltage:3747
temperature: 318
technology: Li-ion
其他使用法如下:
SurfaceFlinger
accessibility
account
activity
alarm
appwidget
audio
backup
battery
batteryinfo
bluetooth
bluetooth_a2dp
bluetooth_dg_service
bluetooth_fm_receiver_service
clipboard
connectivity
content
cpuinfo
device_policy
devicestoragemonitor
diskstats
dropbox
entropy
hardware
htc_checkin
htchardware
input_method
iphonesubinfo
isms
location
media.audio_flinger
media.audio_policy
media.camera
media.player
meminfo
mount
netstat
network_management
notification
package
permission
phone
power
search
sensor
simphonebook
statusbar
telephony.registry
throttle
uimode
usagestats
usbnet
userbehavior
vibrator
wallpaper
wifi
window
accessibility
account
activity
alarm
appwidget
audio
backup
battery
batteryinfo
bluetooth
bluetooth_a2dp
bluetooth_dg_service
bluetooth_fm_receiver_service
clipboard
connectivity
content
cpuinfo
device_policy
devicestoragemonitor
diskstats
dropbox
entropy
hardware
htc_checkin
htchardware
input_method
iphonesubinfo
isms
location
media.audio_flinger
media.audio_policy
media.camera
media.player
meminfo
mount
netstat
network_management
notification
package
permission
phone
power
search
sensor
simphonebook
statusbar
telephony.registry
throttle
uimode
usagestats
usbnet
userbehavior
vibrator
wallpaper
wifi
window
沒有留言:
張貼留言