Screen on Time SoT

Could add functionality for Screen on Time?

Something that would count all screen on use after unplugging, similar to bi(plugged)

Unless I'm not finding it and it already exists?

I have not rooted my device.

Thank you.

This is not possible now, so your idea is to add to the battery stats a new parameter that shows the SOT for a given status, so how long while charging (not very useful) or how long while discharging. Not since boot, right?

Indeed, it would be very nice if you could add the SOT for how long while discharging. Basically the amount of time passed with screen on since last charging event, or since last full charging.

Do you think it could be implemented?