public interface PowerSource extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getName()
Name of the power source (e.g., InternalBattery-0)
|
double |
getRemainingCapacity()
Remaining capacity as a fraction of max capacity.
|
double |
getTimeRemaining()
Estimated time remaining on the power source, in seconds.
|
String getName()
double getRemainingCapacity()
double getTimeRemaining()
Copyright © 2010–2018 oshi. All rights reserved.