Hi, On Tuesday, 19. January 2010 04:31:10 Robin Paulson wrote: > hi, > several times when i've been using my om to make gps tracks, i've > forgotten to turn off auto-suspend, and have lost part of the track i > was logging > > would it be possible to add options to the gps section of shr-settings which > (a) in the case where tracks are being logged, the machine is > prevented from suspending entirely and,
I think this would be difficult - how would you detect for any application if it is just writing a track log? IMHO this should either be done by the application (request CPU) or as a workaround you set it with fsoraw in the corresponding desktop file. If you are doing in a desktop file, your phone will never suspend though as long as the app is running. > (b) in the case where gps is being used but no log being made, the > phone is suspended while the gps remains active? > > thanks I am just writing a very simple GPS logging tool. It does not have (and will not have) any maps. Just log to a CSV file (start, stop and split log). It does already have the possibility to enable GPS and CPU whilst not logging - so you can decide if it should suspsend or not while _not_ logging. When you start logging, GPS will stay on and it will not suspend. I'll probably publish this week. Cheers, Christian _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
