1st command gives me battery.voltage.current = 3 (0x3) (int) battery.voltage.current = 3975 (0xf87) (int) and 2nd 43969 If i use both with the & I'm getting /bin/sh: syntax error: "&" unexpected I'm using power46 kernel with the bleeding-edge wl modules. Btw the old command execution widget uses Code: hal-device bme | awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc "%"} else {print "Chrg"}' wich is showing normal percentage. thx in advance
hal-device bme | awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc "%"} else {print "Chrg"}'
lshal | grep battery.voltage