Share via


Battery

Glossary Item Box

Robotics Common: Robotics Common Overview

See Also Microsoft Robotics Developer Studio Send feedback on this topic

Battery

Generic Battery

The Generic Battery service provides information on the state of the battery and notifications when the battery level falls below a critical level.

The Generic Battery service supports the following operations:

Operation Description
BatteryUpdate Sets the state of the battery or indicates a change in the battery's state.
CriticalLevelUpdate Sets the critical level of the battery or indicates when the battery's power level has dropped below the critical level.
Get Returns the current state of the battery service.

The state of a generic battery has the following properties.

Name Type Description
MaxBatteryPower double The maximum value when the battery is fully charged (default value is 1).
PercentBatteryPower double Percentage of battery power remaining.
PercentCriticalBattery double Percentage of battery power at which operation may be impaired.

Updated information might be available online in the MSDN Library page:
Battery

See Also 

Robotics Common: Robotics Common Overview

 

 

© 2012 Microsoft Corporation. All Rights Reserved.