Class LinuxPowerSource

    • Constructor Detail

      • LinuxPowerSource

        public LinuxPowerSource​(java.lang.String newName,
                                double newRemainingCapacity,
                                double newTimeRemaining)
    • Method Detail

      • getPowerSources

        public static PowerSource[] getPowerSources()
        Gets Battery Information
        Returns:
        An array of PowerSource objects representing batteries, etc.