kh

Dependencies:   mbed PinDetect Servo

powerManagement.cpp

Committer:
Sayak97
Date:
2018-11-12
Revision:
2:04bbd14722bd
Parent:
1:2c365f6da61d

File content as of revision 2:04bbd14722bd:

/*
* 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;
}