I installed Kubuntu 22 on Dell XPS 15 9520 and the laptop will not recognizes when I disconnect the power cable. It only reads "connected but not charging". So now It happned multiple times that I was not notified about low battery and drained it all the way until the laptop shut down - which isn't good for battery life.
I tried calling acpi_listen
on the console and the power disconnect events are actually sent by the kernel.
ac_adapter ACPI0003:00 00000080 00000000battery PNP0C0A:00 00000080 00000001
So It might have something to do with Kubuntu. Any ideas how to make it recognize power disconnect?