libkipr  1.0.0
battery.hpp
Go to the documentation of this file.
1 #ifndef _KIPR_BATTERY_BATTERY_HPP_
2 #define _KIPR_BATTERY_BATTERY_HPP_
3 
4 namespace kipr
5 {
6  namespace battery
7  {
8  class Battery
9  {
10  public:
11  static bool isCharging();
12  static float powerLevel(unsigned int battery_type = 0);
13  static unsigned short rawPowerADC();
14  };
15  }
16 }
17 
18 #endif
Definition: battery.hpp:9
static bool isCharging()
static float powerLevel(unsigned int battery_type=0)
static unsigned short rawPowerADC()
Definition: accel.hpp:7