Dependencies: mbed Servo PinDetect
Diff: powerManagement.cpp
- Revision:
- 4:628468ce3e86
- Parent:
- 3:2f7a7e2cd49e
--- a/powerManagement.cpp Tue Nov 13 03:19:06 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -/* -* 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 -* -*/ -int getBatteryLevels() { - //EDIT LATER maybe have it send a notification in the future - return batteryLevels; -} -