Commit 6acb0407 authored by Julian Zobel's avatar Julian Zobel
Browse files

Retrieve max capacity from battery sensor

parent dfac42f8
...@@ -51,7 +51,14 @@ public interface BatterySensor extends SensorComponent { ...@@ -51,7 +51,14 @@ public interface BatterySensor extends SensorComponent {
* in uJ * in uJ
* @return percentage * @return percentage
*/ */
public double energyCapacityOfBattery(double energy); public double energyPercentageOfBattery(double energy);
/**
* Get the maxium capacity of this battery
*
* @return
*/
public double energyCapacity();
/** /**
* Returns true, if the battery is empty. * Returns true, if the battery is empty.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment