The following electron API could be used to determine whether the user is even active. If not, write "Idle" in "activity" and "title" of the last entry.
https://www.electronjs.org/de/docs/latest/api/power-monitor#powermonitorgetsystemidlestateidlethreshold
For the Windows implementation, see here.
The following electron API could be used to determine whether the user is even active. If not, write "Idle" in "activity" and "title" of the last entry.
https://www.electronjs.org/de/docs/latest/api/power-monitor#powermonitorgetsystemidlestateidlethreshold
For the Windows implementation, see here.