kh
Dependencies: mbed PinDetect Servo
powerManagement.cpp
- Committer:
- Sayak97
- Date:
- 2018-11-13
- Revision:
- 3:2f7a7e2cd49e
- Parent:
- 2:04bbd14722bd
File content as of revision 3:2f7a7e2cd49e:
/* * 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; }