kh
Dependencies: mbed PinDetect Servo
Diff: powerMangement.cpp
- Revision:
- 0:28e05e1a3d1e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/powerMangement.cpp Sat Nov 10 19:30:54 2018 +0000 @@ -0,0 +1,31 @@ +/* +* Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga +* Purpose: Controls Input and Output Data +* Language: C +*/ +#include "powerManagement.h" +#include "parameters.h" + +int batteryLevels; + +/* +* Function: powerSavingMode +* -------------------- +* Controls what is on while the safe is on this mode +*/ +void powerSavingMode() { +//however we decide to implement +} + +/* +* Function: getBatteryLevels +* -------------------- +* Get the battery level for the safe +* +* returns: the battery level for the safe +* +*/ +void getBatteryLevels() { + //EDIT LATER maybe have it send a notification in the future + return batteryLevels; +}