search for: remaining_time

Displaying 2 results from an estimated 2 matches for "remaining_time".

2009 Mar 02
2
Bash script that uses an R command
I have wriiten (with the help of the internet) a bash scirpt for my debian ppc 5.0 laptop to display battery remaining in a panel on the xfce desktop environment. echo `hal-device | grep battery.remaining_time | awk '{print $3/3600}' `-battery and this nicely spits out 4.95 hours in the panel. This is fine except it is a snow day and I have some extra time on my hands. I was wondering if I could write a little program that would take 4.95 and convert it into 4: (.95*6) in other words 4:57 in...
2008 Mar 31
3
nut with hal on Fedora 8
I bought a new CyberPower CP850AVRLCD ups, connected it to a usb port and I'm trying to use it with hal. I installed [root at phoenix ~]# rpm -q nut nut-client nut-2.2.0-6.1.fc8 nut-client-2.2.0-6.1.fc8 lsusb sees it: [root at phoenix docs]# lsusb Bus 001 Device 001: ID 0000:0000 Bus 005 Device 002: ID 0c45:1050 Microdia Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000