xref: /linux/Documentation/ABI/testing/sysfs-class-power (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1What:		/sys/class/power/ds2760-battery.*/charge_now
2Date:		May 2010
3KernelVersion:	2.6.35
4Contact:	Daniel Mack <daniel@caiaq.de>
5Description:
6		This file is writeable and can be used to set the current
7		coloumb counter value inside the battery monitor chip. This
8		is needed for unavoidable corrections of aging batteries.
9		A userspace daemon can monitor the battery charging logic
10		and once the counter drops out of considerable bounds, take
11		appropriate action.
12
13What:		/sys/class/power/ds2760-battery.*/charge_full
14Date:		May 2010
15KernelVersion:	2.6.35
16Contact:	Daniel Mack <daniel@caiaq.de>
17Description:
18		This file is writeable and can be used to set the assumed
19		battery 'full level'. As batteries age, this value has to be
20		amended over time.
21
22What:		/sys/class/power_supply/max14577-charger/device/fast_charge_timer
23Date:		October 2014
24KernelVersion:	3.18.0
25Contact:	Krzysztof Kozlowski <k.kozlowski@samsung.com>
26Description:
27		This entry shows and sets the maximum time the max14577
28		charger operates in fast-charge mode. When the timer expires
29		the device will terminate fast-charge mode (charging current
30		will drop to 0 A) and will trigger interrupt.
31
32		Valid values:
33		- 5, 6 or 7 (hours),
34		- 0: disabled.
35
36What:		/sys/class/power_supply/max77693-charger/device/fast_charge_timer
37Date:		January 2015
38KernelVersion:	3.19.0
39Contact:	Krzysztof Kozlowski <k.kozlowski@samsung.com>
40Description:
41		This entry shows and sets the maximum time the max77693
42		charger operates in fast-charge mode. When the timer expires
43		the device will terminate fast-charge mode (charging current
44		will drop to 0 A) and will trigger interrupt.
45
46		Valid values:
47		- 4 - 16 (hours), step by 2 (rounded down)
48		- 0: disabled.
49
50What:		/sys/class/power_supply/max77693-charger/device/top_off_threshold_current
51Date:		January 2015
52KernelVersion:	3.19.0
53Contact:	Krzysztof Kozlowski <k.kozlowski@samsung.com>
54Description:
55		This entry shows and sets the charging current threshold for
56		entering top-off charging mode. When charging current in fast
57		charge mode drops below this value, the charger will trigger
58		interrupt and start top-off charging mode.
59
60		Valid values:
61		- 100000 - 200000 (microamps), step by 25000 (rounded down)
62		- 200000 - 350000 (microamps), step by 50000 (rounded down)
63		- 0: disabled.
64
65What:		/sys/class/power_supply/max77693-charger/device/top_off_timer
66Date:		January 2015
67KernelVersion:	3.19.0
68Contact:	Krzysztof Kozlowski <k.kozlowski@samsung.com>
69Description:
70		This entry shows and sets the maximum time the max77693
71		charger operates in top-off charge mode. When the timer expires
72		the device will terminate top-off charge mode (charging current
73		will drop to 0 A) and will trigger interrupt.
74
75		Valid values:
76		- 0 - 70 (minutes), step by 10 (rounded down)
77