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