Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
API
Commits
6acb0407
Commit
6acb0407
authored
Jun 08, 2018
by
Julian Zobel
Browse files
Retrieve max capacity from battery sensor
parent
dfac42f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/component/sensor/battery/BatterySensor.java
View file @
6acb0407
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment