[2008.8] TangoGPS/gpsd and suspend/resume
ebbe at skummer.com
Mon Sep 15 16:04:49 CEST 2008
man, 15 09 2008 kl. 14:51 +0200, skrev Radek Bartoň:
> If is this case valid, is there a possibility to keep GPS chip running while
> CPU will be supended? I need this in case when I'm on a trip recording a
> track and I stop in a pub for a few hours and I want to save some power
I would think the best thing would be to also power down the GPS. When
the a in agps is properly working, a few hours in suspend shouldn't have
the biggest affect on the gps when turning it on again.
> BTW: What do you think is the best way to detect that GPS should be powered up
> after resume: seach for tangogps process or save GPS state in suspend.d
> script to some file (i. e. /var/run/gps_state) and enable GPS accordingly?
IMHO it should save the state.
More information about the devel