View Single Post
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#228
Originally Posted by dr_frost_dk View Post
do you have any battery programs installed?, any special Kernels?
my QBW is also 1.3.3

could you try some terminal command:
Code:
hal-device | grep voltage.current
& 
hal-device | grep voltage.current | awk '{printf "%4.0f",$3}'
and post the results
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

Last edited by J4ZZ; 2011-02-11 at 16:45.