|
2010-08-25
, 19:25
|
Posts: 125 |
Thanked: 77 times |
Joined on Oct 2009
@ Sao Paulo, Brazil
|
#132
|
sleepanalyser takes a noticable ammount of cpu/battery. To improve on this I changed the duration value during recording to only show hour:minute. E.g. remove the seconds. This apperantly save lots of screenupdates.
In my case it gets me 2 to 3% less battery drain during the night.
The Following User Says Thank You to jaguilar For This Useful Post: | ||
|
2010-08-25
, 20:37
|
|
Posts: 560 |
Thanked: 423 times |
Joined on May 2010
@ Switzerland
|
#133
|
|
2010-08-25
, 20:52
|
Posts: 125 |
Thanked: 77 times |
Joined on Oct 2009
@ Sao Paulo, Brazil
|
#134
|
|
2010-08-25
, 21:00
|
|
Posts: 560 |
Thanked: 423 times |
Joined on May 2010
@ Switzerland
|
#135
|
|
2010-08-25
, 21:27
|
Posts: 125 |
Thanked: 77 times |
Joined on Oct 2009
@ Sao Paulo, Brazil
|
#136
|
#!/usr/bin/env python2.5 # -*- coding: utf-8 -*- import sys import dbus from dbus.mainloop.qt import DBusQtMainLoop from PyQt4.QtGui import * from PyQt4.QtCore import * class Daemon: def __init__(self): print "Daemon" loop = DBusQtMainLoop(set_as_default=True) system_bus = dbus.SystemBus() system_bus.add_signal_receiver(self.test_signal, path='/com/nokia/mce/signal', signal_name='display_status_ind', dbus_interface='com.nokia.mce.signal') print "Daemon ok" def test_signal(self, *params): print "1", len(params) print params class test: def __init__(self): app = QApplication(sys.argv) Daemon() app.exec_() if __name__ == "__main__": test()
|
2010-08-25
, 21:40
|
|
Posts: 560 |
Thanked: 423 times |
Joined on May 2010
@ Switzerland
|
#137
|
|
2010-08-26
, 13:43
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#138
|
|
2010-08-26
, 18:04
|
Posts: 125 |
Thanked: 77 times |
Joined on Oct 2009
@ Sao Paulo, Brazil
|
#139
|
Now I just have to figure out how to make big buttons without repeating theme (http://talk.maemo.org/showthread.php?p=798347)
|
2010-08-26
, 18:28
|
|
Posts: 560 |
Thanked: 423 times |
Joined on May 2010
@ Switzerland
|
#140
|
sleepanalyser takes a noticable ammount of cpu/battery. To improve on this I changed the duration value during recording to only show hour:minute. E.g. remove the seconds. This apperantly save lots of screenupdates.
In my case it gets me 2 to 3% less battery drain during the night.