View Single Post
Posts: 5 | Thanked: 0 times | Joined on Mar 2011
#524
Originally Posted by peterleinchen View Post
Hey.

For all the blockheads (like me ) out there, still using the python server.
I had bad battery life the last weeks/months, and did not know why. Today I checked with powertop, that my device almost never got into the C4 (deeper sleep) state. Some python process always kicked in waking up the CPU. So I terminated one python after the other and found, that the speak_02.py was the bad guy.
I have it auto-started with event.d, as I've seen no CPU usage, when idle, but never expected such side effects.
As I wanted to keep it auto-started, I checked the sources (do not know anything about python), and "ugly-hack fixed" that.
Now my device again sleeps deeper. And hopefully lasts longer (as it looks like today).
I attach my version of speak_03.py. This one is set to german voice files and german espeak as default. Just use diff to find my small changes.


Sorry blaizzen, for being old-fashioned, but I still have my N97, which I use for real navigation. So there is atm no need for me to update to Your latest version.
Thanks, peterleinchen. Do I need to change your file from speak_03.py.txt to speak_02.py? Can I use it with Jiri's version of voice guidance?

Cheers,

Rob