diff options
author | Bastien Nocera <hadess@hadess.net> | 2019-05-07 13:05:53 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2019-05-07 11:44:22 +0000 |
commit | 61028d84d80775f69c78de359f66e11cdd2e768d (patch) | |
tree | ab9036b7fb38a92418e73bd9360c898a1168a8c9 /rules/Makefile.am | |
parent | 057238a04dd407f24bc78724ed18a68a8d36e57b (diff) | |
download | upower-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/Makefile.am')
0 files changed, 0 insertions, 0 deletions