Add functionality to your desktop
Forum rules
Before you post read
how to get help . Topics in this forum are automatically closed 6 months after creation.
Logansfury
Level 8
Posts: 2377 Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA
Post
by Logansfury » Wed May 22, 2024 5:41 pm
Im on it.
It occurred to me, that as the update interval on the conky is 1 second, it's just refreshing the information before it has a chance to calculate the time remaining and time to full?
<-- Cick for
sudo inxi --usb -Fxxxnmprz output, updated hourly!
Logansfury
Level 8
Posts: 2377 Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA
Post
by Logansfury » Wed May 22, 2024 5:46 pm
I have Full in 6,7 Minutes
It's in discharging state however
Whoops, it just switched to Normal Discharging
but its still displaying Full not Time Remaining
<-- Cick for
sudo inxi --usb -Fxxxnmprz output, updated hourly!
Logansfury
Level 8
Posts: 2377 Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA
Post
by Logansfury » Wed May 22, 2024 6:22 pm
For 40 mins now it's been tracking down the power level, but it is still stuck displaying Full in 6,7 minutes
<-- Cick for
sudo inxi --usb -Fxxxnmprz output, updated hourly!
Koentje
Level 8
Posts: 2079 Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands
Post
by Koentje » Thu May 23, 2024 2:25 pm
Can you post the outcome of upower -d
?
Logansfury
Level 8
Posts: 2377 Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA
Post
by Logansfury » Thu May 23, 2024 6:46 pm
Koentje wrote: ⤴ Thu May 23, 2024 2:25 pm
Can you post the outcome of
upower -d
?
Good Morning!
Here ya go
Code: Select all
logansfury@ASUS-G751JT:~$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC0
native-path: AC0
power supply: yes
updated: Thu 23 May 2024 03:35:40 PM PDT (594 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: ASUSTeK
model: G751-60
power supply: yes
updated: Thu 23 May 2024 03:43:40 PM PDT (114 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: pending-charge
warning-level: none
energy: 75.18 Wh
energy-empty: 0 Wh
energy-full: 77.31 Wh
energy-full-design: 90 Wh
energy-rate: 0 W
voltage: 15 V
charge-cycles: N/A
percentage: 97%
capacity: 85.9%
technology: lithium-ion
icon-name: 'battery-full-charging-symbolic'
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Thu 23 May 2024 03:35:40 PM PDT (594 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: pending-charge
warning-level: none
energy: 75.18 Wh
energy-full: 77.31 Wh
energy-rate: 0 W
charge-cycles: N/A
percentage: 97%
icon-name: 'battery-full-charging-symbolic'
Daemon:
daemon-version: 0.99.17
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
logansfury@ASUS-G751JT:~$
<-- Cick for
sudo inxi --usb -Fxxxnmprz output, updated hourly!
Koentje
Level 8
Posts: 2079 Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands
Post
by Koentje » Thu May 23, 2024 9:08 pm
I don't get it? My last script should read out correctly if AC adapter is connected or not!?
This is what upower says on my laptop.. it seems i get a lot more battery info! But AC connection is the same..
Code: Select all
$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: do 23 mei 2024 22:13:23 CEST (145 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SMP
model: DELL DM3WC64
serial: 1271
power supply: yes
updated: do 23 mei 2024 22:15:23 CEST (25 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 42,8792 Wh
energy-empty: 0 Wh
energy-full: 43,4948 Wh
energy-full-design: 60,002 Wh
energy-rate: 4,6892 W
voltage: 8,274 V
charge-cycles: N/A
time to empty: 9,1 hours
percentage: 98%
capacity: 72,4889%
technology: lithium-polymer
icon-name: 'battery-full-symbolic'
History (charge):
1716495323 98,000 discharging
History (rate):
1716495323 4,689 discharging
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: do 23 mei 2024 22:15:23 CEST (25 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 42,8792 Wh
energy-full: 43,4948 Wh
energy-rate: 4,6892 W
charge-cycles: N/A
time to empty: 9,1 hours
percentage: 98%
icon-name: 'battery-full-symbolic'
Daemon:
daemon-version: 0.99.17
on-battery: yes
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
Logansfury
Level 8
Posts: 2377 Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA
Post
by Logansfury » Thu May 23, 2024 9:18 pm
Koentje wrote: ⤴ Thu May 23, 2024 9:08 pm
I don't get it? My last script should read out correctly if AC adapter is connected or not!?
This is what upower says on my laptop.. it seems i get a lot more battery info! But AC connection is the same..
Code: Select all
$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: do 23 mei 2024 22:13:23 CEST (145 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SMP
model: DELL DM3WC64
serial: 1271
power supply: yes
updated: do 23 mei 2024 22:15:23 CEST (25 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 42,8792 Wh
energy-empty: 0 Wh
energy-full: 43,4948 Wh
energy-full-design: 60,002 Wh
energy-rate: 4,6892 W
voltage: 8,274 V
charge-cycles: N/A
time to empty: 9,1 hours
percentage: 98%
capacity: 72,4889%
technology: lithium-polymer
icon-name: 'battery-full-symbolic'
History (charge):
1716495323 98,000 discharging
History (rate):
1716495323 4,689 discharging
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: do 23 mei 2024 22:15:23 CEST (25 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 42,8792 Wh
energy-full: 43,4948 Wh
energy-rate: 4,6892 W
charge-cycles: N/A
time to empty: 9,1 hours
percentage: 98%
icon-name: 'battery-full-symbolic'
Daemon:
daemon-version: 0.99.17
on-battery: yes
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
That is a hell of a lot of data!
For the moment I am using a combination of your bash and my previous scripting to get a full display.
<-- Cick for
sudo inxi --usb -Fxxxnmprz output, updated hourly!