mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 04:20:04 +01:00
openbsd: add support to fetch battery status from qcpas
This commit is contained in:
parent
2724566a2a
commit
fd4aaf3c65
1 changed files with 2 additions and 0 deletions
|
|
@ -383,6 +383,8 @@ up_backend_update_battery_state(UpDevice* device)
|
|||
(void*) NULL);
|
||||
if(up_native_get_sensordev("acpibat0", &sdev))
|
||||
up_backend_update_acpibat_state(device, sdev);
|
||||
else if(up_native_get_sensordev("qcpas0", &sdev))
|
||||
up_backend_update_acpibat_state(device, sdev);
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue