The Following User Says Thank You to xopher For This Useful Post: | ||
|
2010-08-05
, 21:01
|
Posts: 183 |
Thanked: 113 times |
Joined on Jun 2010
|
#12
|
|
2010-08-05
, 21:16
|
Posts: 165 |
Thanked: 78 times |
Joined on Jun 2010
|
#13
|
In the temprature column all i see is C as there is no number,
do you have any clue why?
btw already found how to make my OC profile
modprobe bq27x00_battery sudo gainroot echo bq27x00_battery >> /etc/modules
The Following User Says Thank You to sacal For This Useful Post: | ||
|
2010-08-06
, 14:11
|
Posts: 101 |
Thanked: 30 times |
Joined on Jul 2010
|
#14
|
|
2010-08-06
, 18:00
|
Posts: 208 |
Thanked: 220 times |
Joined on Apr 2010
|
#15
|
With Linux-powered N900..ANYTHING is possible
The Following User Says Thank You to techie For This Useful Post: | ||
|
2010-08-07
, 15:52
|
Posts: 101 |
Thanked: 30 times |
Joined on Jul 2010
|
#16
|
|
2010-08-07
, 16:03
|
Posts: 263 |
Thanked: 108 times |
Joined on May 2008
|
#17
|
|
2010-08-07
, 16:57
|
Posts: 208 |
Thanked: 220 times |
Joined on Apr 2010
|
#18
|
#!/bin/sh LINHAS=`ps aux | grep scrobbler | grep -v grep | wc -l`; if [ $LINHAS -gt 0 ] ; then echo "dsmetool -k /usr/bin/scrobbler" | sudo gainroot | echo ""; kill -9 `ps aux | grep scrobbler | grep -v grep | awk '{ print $1; }'`; echo "Scrobbler off" run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw<QBW_ID> oh.no.more.qbw.set_param_string string:"resImgFilename" string:scrobbler_off_img.png string:"" else run-standalone.sh /usr/bin/scrobbler & echo "" echo "Scrobbler on" run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw<QBW_ID> oh.no.more.qbw.set_param_string string:"resImgFilename" string:scrobbler_on_img.png string:"" fi
With Linux-powered N900..ANYTHING is possible
|
2010-08-07
, 23:32
|
Posts: 263 |
Thanked: 108 times |
Joined on May 2008
|
#19
|
|
2010-08-08
, 07:11
|
Posts: 208 |
Thanked: 220 times |
Joined on Apr 2010
|
#20
|
@techie I'll give it a try soon. Thanks!
BTW, why cant I use the return codes? Like, return 1, on img, 0, off img?
Also, my snippet get the progress animation when the process is running, even with &
With Linux-powered N900..ANYTHING is possible
@ironm8 look to the top of the thread, you have to add the battery module to your kernel for the temp to display. Instructions are there in the "code" section below the images