Skip to content

Latest commit

 

History

History
62 lines (57 loc) · 1.58 KB

battery-udev-settings.ini

File metadata and controls

62 lines (57 loc) · 1.58 KB
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Configuration file for MCE - udev battery plugin
[BatteryUDevSettings]
# Settings related to orking around missing / too
# infrequent udev change notifications about power
# supply devices.
# Some devices might not send udev notifications
# about all power supply devices e.g. PinePhone at
# the moment does notify about charger disconnect,
# but not about battery making simultaneous
# transition to discharging state.
#
# It is possible to instruct udev battery plugin to
# poll all power supply devices whenever notification
# about change in one is received.
#
# This is relatively costly operation and should be
# enabled only when necessary.
#
# To enable:
#
# RefreshOnNotify = true
#
# Default is:
#
# RefreshOnNotify = false
Jun 25, 2020
Jun 25, 2020
29
Nov 29, 2022
Nov 29, 2022
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# For similar purposes mce can be instructed to track
# USB state changes reported by extcon subsystem devices.
#
# On its own this is not overtly costly, but chances
# are that when it is needed, also RefreshOnNotify=true
# should be used.
#
# To enable:
#
# RefreshOnExtcon = true
#
# Default is:
#
# RefreshOnExtcon = false
Jun 25, 2020
Jun 25, 2020
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Many/most of devices do not send udev notifications
# on every battery capacity percent change. Most of the
# times this is harmless. However it can also cause
# battery empty shutdown to be delayed so much that
# battery is too depleted for regular bootup.
#
# To avoid this udev battery plugin polls all power
# supply devices in process watchdog heartbeat pace
# i.e. about every 36 seconds of uptime not spent in
# suspend.
#
# To disable this periodic polling:
#
# RefreshOnHeartbeat = false
#
# Default is:
#
# RefreshOnHeartbeat = true