libwallaby  v24
The wallaby standard library
battery.hpp
Go to the documentation of this file.
1 /*
2  * battery.hpp
3  *
4  * Created on: Nov 2, 2015
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef INCLUDE_WALLABY_BATTERY_HPP_
9 #define INCLUDE_WALLABY_BATTERY_HPP_
10 
11 
12 class Battery
13 {
14 public:
15  static bool isCharging();
16  static float powerLevel(unsigned int battery_type = 0);
17  static unsigned short rawPowerADC();
18 };
19 
20 #endif /* INCLUDE_WALLABY_BATTERY_HPP_ */
Battery::powerLevel
static float powerLevel(unsigned int battery_type=0)
Battery::rawPowerADC
static unsigned short rawPowerADC()
Battery
Definition: battery.hpp:12
Battery::isCharging
static bool isCharging()