Use CHWRMPower::GetBatteryVoltageInfo() to get the battery voltage information and CHWRMPower::GetBatteryInfo() to get the battery consumption data from HWRM server.
The following code snippet demonstrates how to get battery consumption information:
TRequestStatus& status TBatteryConsuptionData batterydata; iPower->GetBatteryInfo( status, batterydata ); User::WaitForRequest( status ); ...
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.