In Android, what is proxy_gps_nmea_cb () used for?

I called

locationManager.requestSingleUpdate(locationManager.GPS_PROVIDER, locationListener, Looper.myLooper());

      

in the stream

scheduleTaskExecutor.scheduleAtFixedRate();

      

I will show the logcat message as shown below:

02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_location_cb()
02-02 00:13:19.152: D/libgps(482): proxy_gps_sv_status_cb()
02-02 00:13:19.472: D/dalvikvm(3221): GC_CONCURRENT freed 401K, 10% free 7691K/8460K, paused 2ms+2ms, total 23ms
02-02 00:13:19.482: I/wm.cs.service(3221): count=11 location: Location[gps 37.284294,-76.723810 acc=8 et=+7m30s247ms alt=-11.550232802143439 vel=0.0 {Bundle[mParcelledData.dataSize=44]}]
02-02 00:13:20.142: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:20.142: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:20.142: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:20.142: D/libgps(482): proxy_gps_nmea_cb()
02-02 00:13:20.142: D/libgps(482): proxy_gps_nmea_cb()
... ... 

      

Does this mean gps is actively working by consuming battery?

+3


source to share


2 answers


As far as I understand, GPS actually works and consumes power. I haven't been able to find a solution yet, but I'll tell you if I do (answer your own question, if you find yourself, it might save you some time!)



0


source


Yes, the GPS engine is running and consuming power. Additionally, there should be a cross-bar at the top of the screen indicating that GPS is on (and tracking you).



Look for a program that uses GPS and deactivate it, disable GPS by settings, or use the locationListener function to analyze GPS locations.

0


source







All Articles