Skip navigation links
JNA API 5.12.1
com.sun.jna.platform.win32

Class WinNT.SYSTEM_BATTERY_STATE

  • Enclosing interface:
    WinNT


    @Structure.FieldOrder(value={"AcOnLine","BatteryPresent","Charging","Discharging","Spare1","Tag","MaxCapacity","RemainingCapacity","Rate","EstimatedTime","DefaultAlert1","DefaultAlert2"})
    public static class WinNT.SYSTEM_BATTERY_STATE
    extends Structure
    Contains information about the current state of the system battery.
    • Field Detail

      • AcOnLine

        public byte AcOnLine
      • BatteryPresent

        public byte BatteryPresent
      • Charging

        public byte Charging
      • Discharging

        public byte Discharging
      • Spare1

        public byte[] Spare1
      • Tag

        public byte Tag
      • MaxCapacity

        public int MaxCapacity
      • RemainingCapacity

        public int RemainingCapacity
      • Rate

        public int Rate
      • EstimatedTime

        public int EstimatedTime
      • DefaultAlert1

        public int DefaultAlert1
      • DefaultAlert2

        public int DefaultAlert2
    • Constructor Detail

      • SYSTEM_BATTERY_STATE

        public SYSTEM_BATTERY_STATE(Pointer p)
      • SYSTEM_BATTERY_STATE

        public SYSTEM_BATTERY_STATE()
JNA API 5.12.1

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.