How to monitor Time On Battery for WMI Win32_PortableBattery ?

With IPHost Network Monitor you can run WMI Time On Battery monitoring of various devices in your network.

To create a WMI monitor for Time On Battery, provide host name (it must be a Windows host) and specify custom WQL query:

SELECT TimeOnBattery FROM Win32_PortableBattery

TimeOnBattery indicates the elapsed time in seconds since the computer system's UPS last switched to battery power, or the time since the system or UPS was last restarted, whichever is less. Zero shall be returned if the battery is 'on line'.

The Win32_PortableBattery class contains the the population of the DMTF|Portable Battery group, as defined in the DMTF Mobile Supplement to Standard Groups, v1.0 (section 3.3.23 of the SMBIOS spec) and describes the attributes of the portable battery(s) for the system. The class contains the static attributes for the group and describes a single battery pack’s attributes.

IPHost Network Monitor is an advanced and easy tool for monitoring LAN and WAN networks, network servers, workstations and TCP/IP devices. Use IPHost Network Monitor to monitor your servers, domains, computers and devices.