Export (0) Print
Expand All

Battery

Microsoft Robotics

Glossary Item Box

Robotics Common: Robotics Common Overview

Microsoft Robotics Developer StudioSend 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:

OperationDescription
BatteryUpdateSets the state of the battery or indicates a change in the battery's state.
CriticalLevelUpdateSets the critical level of the battery or indicates when the battery's power level has dropped below the critical level.
GetReturns the current state of the battery service.

The state of a generic battery has the following properties.

NameTypeDescription
MaxBatteryPowerdoubleThe maximum value when the battery is fully charged (default value is 1).
PercentBatteryPowerdoublePercentage of battery power remaining.
PercentCriticalBatterydoublePercentage of battery power at which operation may be impaired.

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

Robotics Common: Robotics Common Overview

 

 

© 2012 Microsoft Corporation. All Rights Reserved.

Show:
© 2014 Microsoft