View Single Post
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#229
Originally Posted by J4ZZ View Post
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
have seen that dual reporting voltage before, cant remember what we did to fix it

This battery meter is more precise then the BME you refer to

what do you get if you type in terminal
Code:
lshal | grep battery.voltage