You see how the is_discharging value is present in my output but not yours? In g-p-m we have to go with what the battery says, rather than the ac_adapter so we can support the different types of multibattery laptops.
Can you do a BIOS update, or maybe fix your DSDT? What laptop do you have?
This is a problem with your hardware; on my system ACPI generates on unplug:
acpi_ADP1 property ac_adapter.present = false remaining_ time = 7237 (0x1c45) (new) charge_ level.rate = 20714 (0x50ea) reporting. rate = 20714 (0x50ea) rechargeable. is_discharging = true
acpi_BAT1 property battery.
acpi_BAT1 property battery.
acpi_BAT1 property battery.
acpi_BAT1 property battery.
You see how the is_discharging value is present in my output but not yours? In g-p-m we have to go with what the battery says, rather than the ac_adapter so we can support the different types of multibattery laptops.
Can you do a BIOS update, or maybe fix your DSDT? What laptop do you have?