I installed freedombox on a debian trixie install on Rockpro64.
I notice that freedombox is not getting updates, unless I run them manually in a terminal with sudo apt upgrade. I tried running updates from the GUI, but the system did not get updated.
From the GUI, when I check to see the journal, I see:
==> unattended-upgrades.log
2025-09-01 06:57:13,998 WARNING System is on battery power, stopping
2025-09-01 16:02:38,380 WARNING System is on battery power, stopping
2025-09-02 02:00:12,779 WARNING System is on battery power, stopping
2025-09-02 06:27:04,981 WARNING System is on battery power, stopping
2025-09-02 07:51:18,277 WARNING System is on battery power, stopping
2025-09-03 03:05:28,265 WARNING System is on battery power, stopping
2025-09-03 06:57:29,624 WARNING System is on battery power, stopping
2025-09-03 16:31:48,954 WARNING System is on battery power, stopping
2025-09-03 23:31:23,061 WARNING System is on battery power, stopping
2025-09-04 06:59:10,978 WARNING System is on battery power, stopping
2025-09-04 09:36:34,796 WARNING System is on battery power, stopping
2025-09-04 22:38:39,123 WARNING System is on battery power, stopping
2025-09-05 06:03:41,933 WARNING System is on battery power, stopping
2025-09-05 14:41:06,220 WARNING System is on battery power, stopping
2025-09-05 20:06:39,310 WARNING System is on battery power, stopping
2025-09-06 06:26:13,429 WARNING System is on battery power, stopping
2025-09-06 16:13:19,612 WARNING System is on battery power, stopping
2025-09-07 01:49:27,500 WARNING System is on battery power, stopping
2025-09-07 06:56:34,930 WARNING System is on battery power, stopping
2025-09-07 07:51:36,086 WARNING System is on battery power, stopping
2025-09-08 03:31:15,423 WARNING System is on battery power, stopping
2025-09-08 06:35:46,913 WARNING System is on battery power, stopping
2025-09-08 12:48:58,857 WARNING System is on battery power, stopping
==> unattended-upgrades-dpkg.log
I found Bug #1980991 “/usr/sbin/on_ac_power incorrectly reporting ac pow...” : Bugs : powermgmt-base package : Ubuntu which made me try:
$ on_ac_power
$ $ echo $?
1
From the man page on a computer running Trisquel (based on Ubuntu, without non-free software):
EXIT STATUS
0 (true) System is on mains power
1 (false) System is not on mains power
255 (false) Power status could not be determined
Also
$ sudo unattended-upgrade --dry-run -v
System is on battery power, stopping
So it seems the system belives it is not on mains power, hence why unattended-upgrade does not make update.
Is it a known Debian bug? (I could not find anything). Is there a workaround?