Pebble Foundation Classes  0.2.0
C++ for Pebble
BatteryChargeState Struct Reference

Structure for retrieval of the battery charge state. More...

#include <pebble.h>

Public Attributes

uint8_t charge_percent
 A percentage (0-100) of how full the battery is.
 
bool is_charging
 True if the battery is currently being charged. False if not.
 
bool is_plugged
 True if the charger cable is connected. False if not.
 

Detailed Description

Structure for retrieval of the battery charge state.


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