I have similar problem on xubuntu 16.04. The only problem is that it occurs with only one of my two batteries. This leads me to consider that the problem may be stemming from an interaction with the battery metadata. The odd thing about the battery (the one that instigates the faulty behavior) is that it reports an unusually high energy-full value (>65Wh) whereas the design capacity is actually much smaller (~5Wh). I speculate that this could cause confusion into the actual state of charge and may prematurely shut the laptop down....
peter@peter-Studio-1558:~$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_ADP1
native-path: ADP1
power supply: yes
updated: Tue 02 Jul 2019 08:01:03 AM EDT (1126 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SDI
model: Dell
serial: 36892
power supply: yes
updated: Tue 02 Jul 2019 08:19:03 AM EDT (46 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 2.924 Wh
energy-empty: 0 Wh
energy-full: 65.509 Wh
energy-full-design: 5.2 Wh
energy-rate: 2.995 W
voltage: 12.413 V
percentage: 4%
capacity: 100%
technology: lithium-ion
icon-name: 'battery-caution-charging-symbolic'
History (rate):
1562069943 2.995 charging
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Tue 02 Jul 2019 08:19:03 AM EDT (46 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: charging
warning-level: none
energy: 2.924 Wh
energy-full: 65.509 Wh
energy-rate: 2.995 W
percentage: 4%
icon-name: 'battery-caution-charging-symbolic'
Daemon:
daemon-version: 0.99.4
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
peter@peter-Studio-1558:~$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_ADP1
native-path: ADP1
power supply: yes
updated: Tue 02 Jul 2019 08:01:03 AM EDT (1899 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SDI
model: Dell
serial: 36892
power supply: yes
updated: Tue 02 Jul 2019 08:31:04 AM EDT (98 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 3.409 Wh
energy-empty: 0 Wh
energy-full: 65.509 Wh
energy-full-design: 5.2 Wh
energy-rate: 1.806 W
voltage: 12.515 V
percentage: 5%
capacity: 100%
technology: lithium-ion
icon-name: 'battery-caution-charging-symbolic'
History (rate):
1562070664 1.806 charging
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Tue 02 Jul 2019 08:31:04 AM EDT (98 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: charging
warning-level: none
energy: 3.409 Wh
energy-full: 65.509 Wh
energy-rate: 1.806 W
percentage: 5%
icon-name: 'battery-caution-charging-symbolic'
Daemon:
daemon-version: 0.99.4
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
I have similar problem on xubuntu 16.04. The only problem is that it occurs with only one of my two batteries. This leads me to consider that the problem may be stemming from an interaction with the battery metadata. The odd thing about the battery (the one that instigates the faulty behavior) is that it reports an unusually high energy-full value (>65Wh) whereas the design capacity is actually much smaller (~5Wh). I speculate that this could cause confusion into the actual state of charge and may prematurely shut the laptop down....
peter@peter- Studio- 1558:~$ upower -d p/UPower/ devices/ line_power_ ADP1 symbolic'
Device: /org/freedeskto
native-path: ADP1
power supply: yes
updated: Tue 02 Jul 2019 08:01:03 AM EDT (1126 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: 'ac-adapter-
Device: /org/freedeskto p/UPower/ devices/ battery_ BAT0 full-design: 5.2 Wh caution- charging- symbolic'
native-path: BAT0
vendor: SDI
model: Dell
serial: 36892
power supply: yes
updated: Tue 02 Jul 2019 08:19:03 AM EDT (46 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 2.924 Wh
energy-empty: 0 Wh
energy-full: 65.509 Wh
energy-
energy-rate: 2.995 W
voltage: 12.413 V
percentage: 4%
capacity: 100%
technology: lithium-ion
icon-name: 'battery-
History (rate):
1562069943 2.995 charging
Device: /org/freedeskto p/UPower/ devices/ DisplayDevice caution- charging- symbolic'
power supply: yes
updated: Tue 02 Jul 2019 08:19:03 AM EDT (46 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: charging
warning-level: none
energy: 2.924 Wh
energy-full: 65.509 Wh
energy-rate: 2.995 W
percentage: 4%
icon-name: 'battery-
Daemon: Studio- 1558:~$ upower -d p/UPower/ devices/ line_power_ ADP1 symbolic'
daemon-version: 0.99.4
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
peter@peter-
Device: /org/freedeskto
native-path: ADP1
power supply: yes
updated: Tue 02 Jul 2019 08:01:03 AM EDT (1899 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: 'ac-adapter-
Device: /org/freedeskto p/UPower/ devices/ battery_ BAT0 full-design: 5.2 Wh caution- charging- symbolic'
native-path: BAT0
vendor: SDI
model: Dell
serial: 36892
power supply: yes
updated: Tue 02 Jul 2019 08:31:04 AM EDT (98 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 3.409 Wh
energy-empty: 0 Wh
energy-full: 65.509 Wh
energy-
energy-rate: 1.806 W
voltage: 12.515 V
percentage: 5%
capacity: 100%
technology: lithium-ion
icon-name: 'battery-
History (rate):
1562070664 1.806 charging
Device: /org/freedeskto p/UPower/ devices/ DisplayDevice caution- charging- symbolic'
power supply: yes
updated: Tue 02 Jul 2019 08:31:04 AM EDT (98 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: charging
warning-level: none
energy: 3.409 Wh
energy-full: 65.509 Wh
energy-rate: 1.806 W
percentage: 5%
icon-name: 'battery-
Daemon:
daemon-version: 0.99.4
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep