DevicePower

final class ntoseye.DevicePower

Subclass of BaseRecord.

!podev: a device object’s power state.

property device: int
property device_state: PowerEnum

The last device state the driver set with PoSetPowerState.

property devnode: Diagnostic[DevNodePower] | None
property driver: Diagnostic[DeviceDriver]
property extension: int
property flags: int

DEVICE_OBJECT.Flags, for DO_POWER_PAGABLE and DO_POWER_INRUSH.

property idle: Diagnostic[IdleDetection] | None
property irps: Diagnostic[list[PowerIrp]]

The power IRPs on nt!PopIrpList sent to the device’s stack.

property power_flags: int
property power_inrush: bool

DO_POWER_INRUSH: the device draws inrush current at power-up.

property power_pagable: bool

DO_POWER_PAGABLE: the driver handles power IRPs at PASSIVE_LEVEL.

property system_state: PowerEnum

The last system state the driver set with PoSetPowerState.