Commit bded860
power: supply: rk817: stop updating info in suspend
The driver has a thread that checks the battery every 8 seconds. Stop
this thread during device suspend as while the device is suspended not
all values seem to be read correctly (such as battery voltage). The
resume function triggers the thread to start again.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20240926144346.94630-2-macroalpha82@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>1 parent c46a9ee commit bded860
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
1205 | 1214 | | |
1206 | 1215 | | |
1207 | 1216 | | |
| |||
1213 | 1222 | | |
1214 | 1223 | | |
1215 | 1224 | | |
1216 | | - | |
| 1225 | + | |
1217 | 1226 | | |
1218 | 1227 | | |
1219 | 1228 | | |
| |||
0 commit comments