Use [[[ERROR: [NOKX000E] Unable to find definition for key reference 'CHWRMPower']]]CHWRMPower::GetBatteryVoltageInfo() to get the battery voltage information and [[[ERROR: [NOKX000E] Unable to find definition for key reference 'CHWRMPower']]]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 ); ...