×
Namespaces

Variants
Actions

如何获取电池电量信息

From Nokia Developer Wiki
Jump to: navigation, search

下列代码演示了如何使用HAL获取电量信息

#include <hal_data.h>
#include <hal.h>
TUint KBattStatus;
HAL::Get(EPowerBatteryStatus, KBattStatus);
This page was last modified on 19 September 2012, at 03:09.
64 page views in the last 30 days.