Namespaces
Variants
Actions
Revision as of 03:09, 19 September 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

如何获取电池电量信息

Jump to: navigation, search
文章信息

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

#include <hal_data.h>
#include <hal.h>
TUint KBattStatus;
HAL::Get(EPowerBatteryStatus, KBattStatus);
170 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved