low keyboard battery preventing update

when running ujust update I get error: Battery less than 50.0% However this is a Desktop, the only thing with a battery is my bluetooth keyboard (which indeed is lower than 50%) Here's the relevant part from journalctl
dez 31 08:25:02 onyx ublue-update[4303]: [2023-12-31 08:25:02,216] ublue_update.update_checks.system:INFO | No system update available.
dez 31 08:25:02 onyx ublue-update[4303]: Traceback (most recent call last):
dez 31 08:25:02 onyx ublue-update[4303]: File "/usr/bin/ublue-update", line 8, in <module>
dez 31 08:25:02 onyx ublue-update[4303]: sys.exit(main())
dez 31 08:25:02 onyx ublue-update[4303]: ^^^^^^
dez 31 08:25:02 onyx ublue-update[4303]: File "/usr/lib/python3.12/site-packages/ublue_update/cli.py", line 238, in main
dez 31 08:25:02 onyx ublue-update[4303]: hardware_inhibitor_checks_failed(
dez 31 08:25:02 onyx ublue-update[4303]: File "/usr/lib/python3.12/site-packages/ublue_update/cli.py", line 86, in hardware_inhibitor_ch>
dez 31 08:25:02 onyx ublue-update[4303]: raise Exception(f"update failed to pass checks: \n - {exception_log}")
dez 31 08:25:02 onyx ublue-update[4303]: Exception: update failed to pass checks:
dez 31 08:25:02 onyx ublue-update[4303]: - Battery less than 50.0%
dez 31 08:25:02 onyx systemd[1]: ublue-update.service: Main process exited, code=exited, status=1/FAILURE
dez 31 08:25:02 onyx ublue-update[4303]: [2023-12-31 08:25:02,216] ublue_update.update_checks.system:INFO | No system update available.
dez 31 08:25:02 onyx ublue-update[4303]: Traceback (most recent call last):
dez 31 08:25:02 onyx ublue-update[4303]: File "/usr/bin/ublue-update", line 8, in <module>
dez 31 08:25:02 onyx ublue-update[4303]: sys.exit(main())
dez 31 08:25:02 onyx ublue-update[4303]: ^^^^^^
dez 31 08:25:02 onyx ublue-update[4303]: File "/usr/lib/python3.12/site-packages/ublue_update/cli.py", line 238, in main
dez 31 08:25:02 onyx ublue-update[4303]: hardware_inhibitor_checks_failed(
dez 31 08:25:02 onyx ublue-update[4303]: File "/usr/lib/python3.12/site-packages/ublue_update/cli.py", line 86, in hardware_inhibitor_ch>
dez 31 08:25:02 onyx ublue-update[4303]: raise Exception(f"update failed to pass checks: \n - {exception_log}")
dez 31 08:25:02 onyx ublue-update[4303]: Exception: update failed to pass checks:
dez 31 08:25:02 onyx ublue-update[4303]: - Battery less than 50.0%
dez 31 08:25:02 onyx systemd[1]: ublue-update.service: Main process exited, code=exited, status=1/FAILURE
2 Replies
EyeCantCU
EyeCantCU12mo ago
This is an issue with psutil. @RodoMa92 wrote a patch for it but I don't believe it's merged quite yet. Will look into packaging it myself
Kyle Gospo
Kyle Gospo12mo ago
It's merged
Want results from more Discord servers?
Add your server