summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-05-07 13:05:53 +0200
committerBastien Nocera <hadess@hadess.net>2019-05-07 11:44:22 +0000
commit61028d84d80775f69c78de359f66e11cdd2e768d (patch)
treeab9036b7fb38a92418e73bd9360c898a1168a8c9 /rules
parent057238a04dd407f24bc78724ed18a68a8d36e57b (diff)
downloadupower-61028d84d80775f69c78de359f66e11cdd2e768d.tar.gz
linux: Retry to get a battery type if it's unknown
On some devices the power_supply node will show up before a related node such as "input", making it impossible to know which type of device we're attached to without waiting. Try to detect the device type again if the device type is still "battery". This fixes some Logitech devices appearing as "Battery" instead of their respective device type, such as "mouse".
Diffstat (limited to 'rules')
0 files changed, 0 insertions, 0 deletions