For devices with rechargeable batteries, expose a new boolean sensor
authoranton <anton@openbsd.org>
Tue, 17 Aug 2021 11:30:45 +0000 (11:30 +0000)
committeranton <anton@openbsd.org>
Tue, 17 Aug 2021 11:30:45 +0000 (11:30 +0000)
commit41e23fe78789f3f6a63670425a992dadeb535d3e
tree4e47fb88d25ac901c772a317e3c4327b69750236
parent9c5377216bc5d7081a6cec44e9b382b2ebbbef55
For devices with rechargeable batteries, expose a new boolean sensor
indicating the charging state.

Thanks to Laurence Tratt <laurie at tratt dot net> for testing.
sys/dev/usb/uhidpp.c