FreeBSD 如何检查笔记本电池的电量
时间:2019-11-20 08:54:06 来源:igfitidea点击:
在FreeBSD中,如何查看笔记本电池的状态信息?
解决方法
可以使用acpiconf命令。 -i选项可以查看有关电池的详细信息。
语法为:
acpiconf -i NUMBER-HERE
查看笔记本电池信息:
$ acpiconf -i 0
输出示例
Design capacity: 8400 mAh Last full capacity: 5695 mAh Technology: secondary (rechargeable) Design voltage: 11100 mV Capacity (warn): 840 mAh Capacity (low): 254 mAh Low/warn granularity: 84 mAh Warn/full granularity: 84 mAh Model number: DELL 3M19002 Serial number: 2874 Type: LION OEM info: Samsung SDI State: high Remaining capacity: 15% Remaining time: unknown Present rate: 1 mA (11 mW) Present voltage: 11248 mV
或者
# sysctl -a | grep -i battery