I have searched relevant questions and nothing seems to be helping.
On ubuntu 20.04, all service packs up to date.
I don't get low battery warning. The battery indicator shows around 30% when laptop suddenly shuts down even if settings says percentage-low 10% to suspend. It does not suspend, it shuts down.
What can I do to get timely low battery warning rather than abruptly shutting down the laptop and loosing all my work?
So far I have got warning only once but that was also less than a minute - hardly time enough to get the power supply from other room.
Experience so far is low power warning is not present and if you get it, its not advance enough to act on it. Suspend or other dconf settings do not help. Laptop just shuts down.
Based on answers attaching the output of upower. I believe it's not looking that bad.
vendor: Hewlett-Packard
model: Primary
power supply: yes
updated: Sat 12 Jun 2021 05:21:10 PM PDT (90 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
warning-level: none
energy: 27.5648 Wh
energy-empty: 0 Wh
energy-full: 28.9664 Wh
energy-full-design: 28.9664 Wh
energy-rate: 1.2702 W
voltage: 16.667 V
percentage: 100%
capacity: 100%
technology: lithium-ion
icon-name: 'battery-full-charged-symbolic'