Detect if certain Wirelesscharger is charging

Hey,
i want to detect if wireless charger A is currently charging my phone.
Because if i charge my phone on the charger on my desk, i want to turn on my pc and if i charge it at my bed i want to turn off anything.

But sometimes i just charge my headphones or watch, then i dont want to turn on my pc.

The second part is quite easy, just check if phone and wireless charger are doing something, but how can i detect if my charger charges something?

And the entity of your wireless charger is ?

Assuming your wireless charger isn’t smart or integrated to HA in anyway, you could put it on a smart outlet with power detection.