![]() |
2010-11-11
, 12:55
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#12
|
![]() |
2010-11-11
, 12:56
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#13
|
![]() |
2010-11-11
, 13:26
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#14
|
hal-device | grep voltage.current | awk '{printf "%1.3fV - %3.0f", $3/1000,($3-3300)/9}{print "%"}'
![]() |
2010-11-11
, 13:39
|
Posts: 539 |
Thanked: 165 times |
Joined on Feb 2010
@ Berlin, Germany
|
#15
|
bme_RX-51 is bme. If you did not stop it and did not run hostmode which stops it, it is probably running. Do you know how the widget finds the remaining capacity? From hal, which is the value that BME uses, or directly from the hardware?
hal-device bme | awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc "%"} else {print "Chrg"}'
![]() |
2010-11-11
, 13:41
|
Posts: 539 |
Thanked: 165 times |
Joined on Feb 2010
@ Berlin, Germany
|
#16
|
![]() |
2010-11-11
, 15:11
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#17
|
BME? Don't know about it. I didn't stop it but also didn't take care if it's running.
...