kh

Dependencies:   mbed PinDetect Servo

Revision:
1:2c365f6da61d
Parent:
0:28e05e1a3d1e
Child:
2:04bbd14722bd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/powerManagement.cpp	Sat Nov 10 20:08:46 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
+*
+*/
+int getBatteryLevels() {
+	//EDIT LATER maybe have it send a notification in the future
+	return batteryLevels;
+}