Getting a system's current power state should not require power tracking to be enabled

It seems that the power history inspector requires power history tracking to be enabled on a system for it to function. This makes sense for any intervals or looking into the past, but this should not be required in the case of current system interval of power history or for current monitor interval of power history. Both of these options just return the current state of the system and there is no need for them to rely on historical data collection.

I can see many possible uses for this, but my current use case is to automatically reboot the system if no user is logged on. Ideally I’d like to only do this when the system is considered idle, and avoid doing it when a user has recently used the keyboard or mouse.

So, in relevance, I’d like to assert the following:

not exists states whose(it = active state) of current system intervals of power histories