xref: /linux/Documentation/ABI/testing/sysfs-class-wakeup (revision cbac924200b838cfb8d8b1415113d788089dc50b)
1What:		/sys/class/wakeup/
2Date:		June 2019
3Contact:	Tri Vo <trong@android.com>
4Description:
5		The /sys/class/wakeup/ directory contains pointers to all
6		wakeup sources in the kernel at that moment in time.
7
8What:		/sys/class/wakeup/.../name
9Date:		June 2019
10Contact:	Tri Vo <trong@android.com>
11Description:
12		This file contains the name of the wakeup source.
13
14What:		/sys/class/wakeup/.../active_count
15Date:		June 2019
16Contact:	Tri Vo <trong@android.com>
17Description:
18		This file contains the number of times the wakeup source was
19		activated.
20
21What:		/sys/class/wakeup/.../event_count
22Date:		June 2019
23Contact:	Tri Vo <trong@android.com>
24Description:
25		This file contains the number of signaled wakeup events
26		associated with the wakeup source.
27
28What:		/sys/class/wakeup/.../wakeup_count
29Date:		June 2019
30Contact:	Tri Vo <trong@android.com>
31Description:
32		This file contains the number of times the wakeup source might
33		abort suspend.
34
35What:		/sys/class/wakeup/.../expire_count
36Date:		June 2019
37Contact:	Tri Vo <trong@android.com>
38Description:
39		This file contains the number of times the wakeup source's
40		timeout has expired.
41
42What:		/sys/class/wakeup/.../active_time_ms
43Date:		June 2019
44Contact:	Tri Vo <trong@android.com>
45Description:
46		This file contains the amount of time the wakeup source has
47		been continuously active, in milliseconds.  If the wakeup
48		source is not active, this file contains '0'.
49
50What:		/sys/class/wakeup/.../total_time_ms
51Date:		June 2019
52Contact:	Tri Vo <trong@android.com>
53Description:
54		This file contains the total amount of time this wakeup source
55		has been active, in milliseconds.
56
57What:		/sys/class/wakeup/.../max_time_ms
58Date:		June 2019
59Contact:	Tri Vo <trong@android.com>
60Description:
61		This file contains the maximum amount of time this wakeup
62		source has been continuously active, in milliseconds.
63
64What:		/sys/class/wakeup/.../last_change_ms
65Date:		June 2019
66Contact:	Tri Vo <trong@android.com>
67Description:
68		This file contains the monotonic clock time when the wakeup
69		source was touched last time, in milliseconds.
70
71What:		/sys/class/wakeup/.../prevent_suspend_time_ms
72Date:		June 2019
73Contact:	Tri Vo <trong@android.com>
74Description:
75		The file contains the total amount of time this wakeup source
76		has been preventing autosleep, in milliseconds.
77