在日常生活中,手机已经成为了我们不可或缺的伙伴。然而,手机在使用过程中难免会出现各种故障。对于华为手机用户来说,掌握一些故障快速诊断命令,可以帮助我们快速解决手机问题,避免不必要的麻烦。今天,就让我们一起揭秘华为手机故障快速诊断的神秘命令吧!
1. 查看手机基本信息
命令:adb shell dumpsys battery
功能:查看手机电池相关信息,如电量、温度、充电状态等。
示例:
adb shell dumpsys battery
执行上述命令后,你会看到类似以下信息:
”` Battery history: level: 100 status: FULL health: GOOD present: true technology: Li-ion temperature: 28 voltage: 3670 scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2 health: 2 level: 100 voltage: 3670 temperature: 28 technology: Li-ion scale: 100 health: 2 status: 2 last full charge: 2023-02-24 14:30:45 last discharge: 2023-02-24 14:30:45 last battery changed: 2023-02-24 14:30:45 icon: 0 warning: 0 error: 0 present: 1 status: 2