comparison idle_linux.py @ 0:05bdded21d38

start: progs and idle time
author drewp@bigasterisk.com
date Fri, 03 Mar 2023 18:33:19 -0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:05bdded21d38
1 import xprintidle
2
3
4 def get_idle_seconds():
5 return xprintidle.idle_time() / 1000