Class MacPowerSource

    • Constructor Detail

      • MacPowerSource

        public MacPowerSource​(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.