Battery charge limet reset to 100% after reboot

Operating System: NixOS 24.05
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.6-asahi (64-bit)
Graphics Platform: Wayland
Processors: 4 × Apple Avalanche (M2), 4 × Apple Blizzard (M2)
Memory: 7.4 GiB of RAM
Graphics Processor: Apple M2
Product Name: Apple MacBook Air (15-inch, M2, 2023)

Is it somewhat related NixOS or Plasma?

This happened to me several times since the Fedora 40 KDE beta (on an x86 laptop), but hasn’t happened for at least 3 weeks now. I’ve never found out what was responsible for this, but it seems to be gone.

Thanks for reply