Bluetooth Keyboard (ZMK) battery state not showing anymore

Hi all, I have a strange issue with the battery indicator of my custom wireless BLE keyboard running ZMK firmware not showing up anymore. I did enable experimental features in my bluetooth config and it was working a few days before. Now it does not anymore. Other bluetooth devices show up regardless (MX Master 1. Gen is connected by BT)

image

Output of bluetoothctl shows at least a battery service?

[daniel@fs0ciety ~]$ bluetoothctl 
Agent registeredct to bluetoothd...[bluetooth]#         TOTEM
[TOTEM]# AdvertisementMonitor path registered
[TOTEM]# info
Device C6:50:57:44:F6:D6 (random)
        Name: TOTEM
        Alias: TOTEM
        Appearance: 0x03c1 (961)
        Icon: input-keyboard
        Paired: yes
        Bonded: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        WakeAllowed: yes
        LegacyPairing: no
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
        UUID: Battery Service           (0000180f-0000-1000-8000-00805f9b34fb)
        UUID: Human Interface Device    (00001812-0000-1000-8000-00805f9b34fb)
        Modalias: bluetooth:v1D50p615Ed0001

Im not really sure right now what else on information to gather, so please let me know if you miss anything.

Sysinfo:

#################### inxi -Fxxc0z ########################

System:
  Kernel: 6.7.3-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 Desktop: KDE Plasma
    v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 dm: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Precision 5560 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 0G06MM v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0
    date: 09/12/2023
Battery:
  ID-1: BAT0 charge: 58.6 Wh (100.0%) condition: 58.6/84.3 Wh (69.5%) volts: 12.5 min: 11.4
    model: BYD DELL M59JH19 serial: <filter> status: full
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3 serial: <filter>
    charge: 100% (should be ignored) status: discharging
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP arch: Tiger Lake rev: 1
    cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
  Speed (MHz): avg: 934 high: 1088 min/max: 800/4600 cores: 1: 1077 2: 800 3: 951 4: 800 5: 994
    6: 958 7: 1077 8: 800 9: 800 10: 968 11: 999 12: 800 13: 1088 14: 1077 15: 774 16: 994
    bogomips: 73744
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915 v: kernel arch: Gen-12.1
    ports: active: DP-5,DP-6 off: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
    chip-ID: 8086:9a60
  Device-2: NVIDIA GA107GLM [RTX A2000 Mobile] vendor: Dell driver: nvidia v: 545.29.06
    arch: Ampere pcie: speed: 16 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 10de:25b8
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 3-11:3 chip-ID: 0c45:672e
  Device-4: Logitech Logi Webcam C920e driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 3-4.3.2.3.4:21 chip-ID: 046d:08b6
  Display: x11 server: X.Org v: 21.1.11 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4880x2560 s-dpi: 96
  Monitor-1: not-matched mapped: DP-1-2 pos: primary,bottom-r res: 3440x1440 dpi: 110
    diag: 864mm (34.02")
  Monitor-2: not-matched mapped: DP-1-3 pos: top-left res: 1440x2560 dpi: 124 diag: 604mm (23.8")
  Monitor-3: eDP-1 note: disabled model: LG Display 0x06b3 res: 1440x2560 dpi: 145
    diag: 396mm (15.6")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm:
    drv: nvidia surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 23.3.5-arch1.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel UHD Graphics (TGL GT1) device-ID: 8086:9a60
  API: Vulkan v: 1.3.276 surfaces: xcb,xlib device: 0 type: discrete-gpu driver: nvidia
    device-ID: 10de:25b8
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Dell driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:43c8
  Device-2: HP HyperX SoloCast driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 bus-ID: 3-4.3.2.3.1:19 chip-ID: 03f0:078b
  Device-3: Realtek USB Audio driver: snd-usb-audio type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    bus-ID: 3-4.3.4:9 chip-ID: 0bda:402e
  API: ALSA v: k6.7.3-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:43f0
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB rev: 3.0
    speed: 5 Gb/s lanes: 1 bus-ID: 2-4.4:8 chip-ID: 0bda:8153
  IF: enp0s13f0u4u4 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  IF-ID-2: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-3: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
    bus-ID: 3-14:4 chip-ID: 8087:0026
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2 lmp-v: 11
Drives:
  Local Storage: total: 3.96 TiB used: 632.78 GiB (15.6%)
  ID-1: /dev/nvme0n1 model: PCIe SSD size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter>
    temp: 24.9 C
  ID-2: /dev/nvme1n1 vendor: Lexar model: SSD NM790 4TB size: 3.73 TiB speed: 63.2 Gb/s lanes: 4
    serial: <filter> temp: 38.9 C
Partition:
  ID-1: / size: 500 GiB used: 29.19 GiB (5.8%) fs: btrfs dev: /dev/nvme1n1p1
  ID-2: /home size: 3.21 TiB used: 603.27 GiB (18.4%) fs: btrfs dev: /dev/nvme1n1p3
  ID-3: /var/log size: 500 GiB used: 29.19 GiB (5.8%) fs: btrfs dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: partition size: 32.23 GiB used: 43.8 MiB (0.1%) priority: -2
    dev: /dev/nvme1n1p2
Sensors:
  System Temperatures: cpu: 52.0 C mobo: 41.0 C sodimm: SODIMM C
  Fan Speeds (rpm): cpu: 2018
Info:
  Processes: 427 Uptime: 1h 14m Memory: total: 32 GiB note: est. available: 31.08 GiB
  used: 13.94 GiB (44.8%) Init: systemd v: 255 default: graphical Compilers: gcc: 13.2.1
  clang: 16.0.6 Packages: pm: pacman pkgs: 1527 Client: KDE Plasma v: 5.27.10 inxi: 3.3.31
1 Like