RSystemAgent systemAgent;
User::LeaveIfError(systemAgent.Connect());
TInt strength = systemAgent.GetState(KUidBatteryStrength);
TInt batStatus=HAL::EPowerBatteryStatus_Zero;
TInt err=HAL::Get(HAL::EPowerBatteryStatus, batStatus)
The Purpose of this Blog is to spread the less known facts to the Mobile developers. If you want to post any article on the Blog please send it to me my email ID is skumar.mobiledev@gmail.com
No comments:
Post a Comment