I know this is an old thread, but I noticed after upgrading my Reform2 system just recently that the battery level is no longer displayed in the waybar.
Some details:
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Linux reform 6.11.2-mnt-reform-arm64 #1 SMP Debian 6.11.2-1+reform20241009T184201Z (2024-10-09) aarch64 GNU/Linux
The kernel module is built and is loaded. I explicitly ran an apt reinstall reform2_lpc.
root@reform:~# lsmod |grep reform2
reform2_lpc 12288 0
root@reform:~# modinfo reform2_lpc
filename: /lib/modules/6.11.2-mnt-reform-arm64/updates/dkms/reform2_lpc.ko.xz
license: GPL
description: Reform 2 LPC Driver
alias: of:N*T*Cmntre,lpc11u24C*
alias: of:N*T*Cmntre,lpc11u24
alias: spi:lpc11u24
depends:
name: reform2_lpc
vermagic: 6.11.2-mnt-reform-arm64 SMP mod_unload modversions aarch64
sig_id: PKCS#7
signer: DKMS module signing key
sig_key: 4D:FB:9A:06:42:4E:E3:F7:27:B7:08:7C:56:57:2B:FE:2C:9E:D4:1A
sig_hashalgo: sha256
signature: 97:AB:D6:96:B5:6A:04:5C:BE:ED:C6:D1:6F:CB:39:08:68:7A:E2:3D:
D5:22:41:2C:6E:6D:A0:A9:52:E6:75:6D:64:F5:56:8B:6A:F4:22:14:
1B:80:1D:83:D3:61:AB:9A:BA:D6:6E:EE:14:F1:97:68:77:1D:73:CF:
96:95:36:7B:31:62:21:36:5A:B1:96:06:80:C5:49:4B:12:1F:97:D8:
F4:15:78:22:C9:C5:2F:BC:19:29:12:9A:8C:D4:CF:69:3C:E3:AD:F5:
83:E9:E8:C0:17:A3:8E:17:E5:EE:32:1B:1A:58:9E:87:FB:BE:96:CC:
98:A9:CE:AD:4D:6B:E1:DC:0E:3B:65:64:44:3F:EB:B5:59:F2:09:92:
BF:31:FC:74:05:3E:C8:CC:08:97:69:C6:0B:5C:22:D9:B0:C4:40:2C:
67:6B:03:02:C5:0C:76:92:E3:9C:9C:5A:54:AB:3C:2A:94:19:FD:E5:
E5:29:CD:F9:F5:8C:2B:8B:B9:EB:09:FF:F3:62:65:EE:6B:2A:BD:4B:
2F:87:EE:B1:9D:8B:48:F6:A1:55:D6:E4:07:80:05:FF:9C:D1:F0:73:
4E:45:F9:39:31:19:7D:E3:80:E5:FF:AE:87:00:06:1C:F7:20:03:65:
62:61:5D:83:64:03:5A:E8:87:B2:CD:B6:55:41:AC:C0
And the waybar configuration is unchanged from previously (config truncated for brevity).
# ~/.config/waybar$ cat config
{
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 34, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-center": [],
"modules-right": ["tray", "network", "custom/stat", "memory", "battery", "temperature", "pulseaudio", "clock"],
"sway/window": {
},
"sway/mode": {
"format": "<span>{}</span>"
},
"tray": {
"icon-size": 32,
"spacing": 16
},
....
....
},
"battery": {
"bat": "8xlifepo4",
"interval": 30,
"format": "BATT {}%"
},
Has anybody observed anything similar? Is there a way to interrogate the system from the CLI to determine that the module is functioning?