kh

Dependencies:   mbed PinDetect Servo

powerManagement.cpp

Committer:
Sayak97
Date:
13 months ago
Revision:
1:2c365f6da61d
Parent:
powerMangement.cpp@ 0:28e05e1a3d1e
Child:
2:04bbd14722bd

File content as of revision 1:2c365f6da61d:

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