TK6000_BATTERY_INFO Struct Reference

List of all members.


Detailed Description

This structure is used with the JSGetBatteryStatus function. All Battery1 fields are for the bottom (main) battery. The Battery2 fields are for the secondary (or middle) battery.

Parameters:
TotalCapacity The total capacity in milli-Amp Hours (mAH).
Voltage The voltage in milli-Volts (mV).
Current The average battery current in mill-Amps (mA).
Interval How often (in milliseconds) this information is refreshed.
Temperature Temperature of the battery in increments of 0.1 degrees Celsius. (Example: 245 means 24.5 degrees C).
Percentage Discharge and temperature compensated state of charge. (100 means fully charged).
Flags Bitfield to indicate the state of the batteries. The bits correspond to the following defines:
          BATTERY_1_PRESENT
          BATTERY_1_CHARGING
          BATTERY_2_PRESENT
          BATTERY_2_CHARGING
Reserved A reserved BYTE currently used to make the structure WORD aligned.
Supported Platforms:
  • TK6000
See also:
JSGetBatteryStatus

Public Attributes

INT16 Battery1_Current
BYTE Battery1_Percentage
INT16 Battery1_Temperature
WORD Battery1_TotalCapacity
WORD Battery1_Voltage
INT16 Battery2_Current
BYTE Battery2_Percentage
INT16 Battery2_Temperature
WORD Battery2_TotalCapacity
WORD Battery2_Voltage
BYTE Battery_Flags
WORD Battery_Interval
BYTE Reserved

The documentation for this struct was generated from the following file:

Generated on Wed Jun 8 14:33:23 2016 by  doxygen 1.5.5