public class LinuxPowerSource extends AbstractPowerSource
PowerSource.CapacityUnits
Constructor and Description |
---|
LinuxPowerSource(String psName,
String psDeviceName,
double psRemainingCapacityPercent,
double psTimeRemainingEstimated,
double psTimeRemainingInstant,
double psPowerUsageRate,
double psVoltage,
double psAmperage,
boolean psPowerOnLine,
boolean psCharging,
boolean psDischarging,
PowerSource.CapacityUnits psCapacityUnits,
int psCurrentCapacity,
int psMaxCapacity,
int psDesignCapacity,
int psCycleCount,
String psChemistry,
LocalDate psManufactureDate,
String psManufacturer,
String psSerialNumber,
double psTemperature) |
Modifier and Type | Method and Description |
---|---|
static PowerSource[] |
getPowerSources()
Gets Battery Information
|
getAmperage, getCapacityUnits, getChemistry, getCurrentCapacity, getCycleCount, getDesignCapacity, getDeviceName, getManufactureDate, getManufacturer, getMaxCapacity, getName, getPowerUsageRate, getRemainingCapacity, getRemainingCapacityPercent, getSerialNumber, getTemperature, getTimeRemaining, getTimeRemainingEstimated, getTimeRemainingInstant, getVoltage, isCharging, isDischarging, isPowerOnLine, toString, updateAttributes
public LinuxPowerSource(String psName, String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, String psChemistry, LocalDate psManufactureDate, String psManufacturer, String psSerialNumber, double psTemperature)
public static PowerSource[] getPowerSources()
Copyright © 2010–2019 oshi. All rights reserved.