You are not logged in.
Yes, desktop here:
01 Aug 17 @ 09:27:21 ~
$ acpi -b -i
No support for device type: power_supply
01 Aug 17 @ 09:27:26 ~
$ power_suply
bash: power_supply: command not found
01 Aug 17 @ 09:27:40 ~
$
See how well I read and obey the instructions it said to type: power_supply
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^How is that even possible? Or did you change "suply"? Bash does not change it for me if I mistype the word.
One more idea: What about showing Amps and Voltage on a key?
I was thinking about a nice graph for voltage (and maybe amps too) in conky. I got this idea after I had a look on a windows battery manager. :8
Offline
Yea, I could do that with volts ... I have a few here, but no amps. Also I have no what of knowing what the volts are for:
09 Aug 17 @ 20:58:05 ~
$ sensen
alias for: sensors && echo =-=-=-=-=-=-= && inxi -s
acpitz-virtual-0
Adapter: Virtual device
temp1: +30.0°C (crit = +110.0°C)
f71862fg-isa-0a00
Adapter: ISA adapter
+3.3V: +3.49 V
in1: +1.00 V
in2: +1.50 V
in3: +0.86 V
in4: +0.00 V
in5: +0.00 V
in6: +0.00 V
3VSB: +3.39 V
Vbat: +2.99 V
fan1: 1940 RPM
fan2: 0 RPM ALARM
fan3: 0 RPM ALARM
temp1: +41.0°C (high = +85.0°C, hyst = +81.0°C)
(crit = +255.0°C, hyst = +251.0°C) sensor = transistor
temp2: +43.0°C (high = +85.0°C, hyst = +81.0°C)
(crit = +100.0°C, hyst = +96.0°C) sensor = thermistor
temp3: +127.0°C (high = +70.0°C, hyst = +68.0°C) ALARM (CRIT)
(crit = +85.0°C, hyst = +83.0°C) sensor = transistor
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +32.5°C (high = +70.0°C)
=-=-=-=-=-=-=
Sensors: System Temperatures: cpu: 43.0C mobo: 32.9C gpu: 40C
Fan Speeds (in rpm): cpu: 1940 fan-2: 0 fan-3: 0
09 Aug 17 @ 20:58:08 ~
$
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Assuming "energy-rate" is the wattage...
#!/bin/bash
##
## power
# get info of all devices: "upower -d"
V=$(upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -i voltage)
Volts=$(echo "$V" | awk '{print $2}' | cut -c 1-5)
W=$(upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -i "energy-rate")
Watts=$(echo "$W" | awk '{print $2}' | cut -c 1-5)
Amps=$(echo "$Watts / $Volts" | bc -l | cut -c 1-3)
echo "$Watts W"
echo "$Volts V"
echo "$Amps A"
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
^That script is awesome! I suppose these values would make a nice graph (or actually three graphs) in conky.
Offline
I just had a quick look at upower, and figured that it probably provides all the info you conky guys might need
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
IF I had a laptop and IF I had upower installed, it just might.
10 Aug 17 @ 12:41:20 ~
$ upower -d
bash: upower: command not found
My power management is very simple, push the power button in the morning and shut down at night.
I've lost interest in that conky. I doubt it will ever get done, too many keys to few commands.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline