linux 每日一练习!!查看电池状态
2015-12-24 00:00
537 查看
一、查看电池状态的方法
Howto check battery status?Open the Terminal and type the following command:
acpi
OR
acpi -i -b
Sample outputs:
Fig.01: Showing acpi battery status on Linux
Use upower command to get battery status
On the latest version of Linux try:最近的Linux版本可以使用如下命令。
upower -i /org/freedesktop/UPower/devices/battery_BAT0
Sample outputs:
Fig.02: Displaying battery info using upower
相关文章推荐
- ACPI Namespace学习笔记
- SCI/SMI
- linux电源管理详述
- 标准linu休眠和唤醒机制分析(一)
- 电源管理基本观念之二
- 第二十三篇:Windows中的ACPI
- 【我所认知的BIOS】—>Advanced Configuration and Power Interface原理(硬件部分)
- 【我所认知的BIOS】—> Advanced Configuration and Power Interface 原理(软件部分)
- 【我所认知的BIOS】—> Advanced Configuration and Power Interface 原理(实践部分)
- 【我所认知的BIOS】—> uEFI AHCI Driver(7) — AtaAtapiPassThruSupported
- .o0博客导读0o. 1/23/2016最后更新
- Resource Descriptors for ACPI
- ACPI基础——ASL语言
- ACPI基础
- ACPI 简析
- PCIe INTx parse in ACPI
- PCI parse MEM/IO range in _CRS in ACPI table
- PCI SMMU parse in ACPI
- PCI MSI parse in ACPI
- Linux NUMA优化(1)