/proc/acpi/battery/
比如info文件内容
present:yes
designcapacity:4400mAh
lastfullcapacity:4191mAh
batterytechnology:rechargeable
designvoltage:10800mV
designcapacitywarning:205mAh
designcapacitylow:143mAh
capacitygranularity1:62mAh
capacitygranularity2:3986mAh
modelnumber:Primary
serialnumber:
batterytype:LION
OEMinfHewlett-Packard
下载本文示例代码
阅读(369) | 评论(0) | 转发(0) |