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