public class LinuxPowerSource extends AbstractPowerSource
name, remainingCapacity, timeRemaining
Constructor and Description |
---|
LinuxPowerSource(String newName,
double newRemainingCapacity,
double newTimeRemaining)
Constructor for LinuxPowerSource.
|
Modifier and Type | Method and Description |
---|---|
static PowerSource[] |
getPowerSources()
Gets Battery Information
|
void |
updateAttributes()
Updates remaining capacity and time remaining.
|
getName, getRemainingCapacity, getTimeRemaining, toString
public static PowerSource[] getPowerSources()
public void updateAttributes()
Copyright © 2010–2019 oshi. All rights reserved.