libkovan  1
The kovan standard library
battery.h File Reference

Methods for determining the device's power level. More...

#include "export.h"
#include "vtable.h"

Go to the source code of this file.

Functions

VF EXPORT_SYM int battery_charging ()
 
VF EXPORT_SYM float power_level ()
 

Detailed Description

Methods for determining the device's power level.

Author
Braden McDorman

Function Documentation

VF EXPORT_SYM int battery_charging ( )
VF EXPORT_SYM float power_level ( )

The device's power level

Returns
The device's current voltage