[Nexus 7 (2013) Android Development] bitstra:
1.

While playing around with logcats in conjunction to GPS-battery saver mode on Flo, the first thing I saw a HAL/EFS problem, that is upcoming sporadicly (- and not in relation to GPS!).

see here (any ideas?):

W/qcom_sensors_hal( 621): hal_sensor1_data_cb: SENSOR1_MSG_TYPE_BROKEN_PIPE
E/Sensors (28577): sns_fsa_la.c(386):fsa: fflush failed, 9
E/Sensors (28577): sns_fsa_la.c(386):fsa: fflush failed, 9
W/Sensors (28577): sns_smr_la.c(446):smr_la: smr_apps_la_thread_main is starting, fd=12, sns_smr.en_rx_msg_ptr=b6f699d0
W/Sensors (28577): sns_sam_app.c(6827):sns_sam_reg_algo: Registering algo service 16, err 0
[COLOR="Red"]E/Sensors (28577): sns_debug_main.c(565):Debug Config File missing in EFS![/COLOR]

2.

logcat lines - right after toggling GPS/location to Energy Saver (see the red marked lines...):

I/am_finish_activity( 621): [0,906513244,73,com.android.settings/.SubSettings,clear]
I/am_destroy_activity( 621): [0,906513244,73,com.android.settings/.SubSettings,finish-imm]
I/am_new_intent( 621): [0,331726651,73,com.android.settings/.Settings,android.intent.action.MAIN,NULL,NULL,274726912]
I/am_on_paused_called( 1062): [0,com.android.launcher2.Launcher]
I/am_resume_activity( 621): [0,1062838012,73,com.android.settings/.Settings]
I/art (21148): Heap transition to ProcessStateJankPerceptible took 39.245606ms saved at least 915KB
I/am_on_resume_called(21148): [0,com.android.settings.Settings]
D/DashboardSummary(21148): rebuildUI took: 82 ms
E/WindowManager( 621): removeAppFromTaskLocked: token=AppWindowToken{a5c7824 token=Token{2da64e65 ActivityRecord{36084b5c u0 com.android.settings/.SubSettings t73}}} not found.
I/sf_frame_dur( 195): [com.teslacoilsw.launcher/com.android.launcher2.Launcher,44,1,1,0,2,0,2]
I/ActivityManager( 621): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 21148 on display 0
I/wm_task_moved( 621): [73,1,5]
I/am_create_activity( 621): [0,639556275,73,com.android.settings/.SubSettings,android.intent.action.MAIN,NULL,NULL,0]
I/am_pause_activity( 621): [0,1062838012,com.android.settings/.Settings]
I/am_on_paused_called(21148): [0,com.android.settings.Settings]
I/am_restart_activity( 621): [0,639556275,73,com.android.settings/.SubSettings]
D/SubSettings(21148): Launching fragment com.android.settings.location.LocationSettings
I/LocationSettingsBase(21148): Location mode has been changed
W/ContextImpl(21148): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1264 android.content.ContextWrapper.sendBroadcast:371 com.android.settings.location.LocationSettingsBase.setLocationMode:110 com.android.settings.location.LocationSettings.onSwitchChanged:255 com.android.settings.widget.SwitchBar.propagateChecked:143
I/LocationSettingsBase(21148): Location mode has been changed
I/am_on_resume_called(21148): [0,com.android.settings.SubSettings]
I/am_proc_start( 621): [0,28997,10007,com.google.android.gms.ui,broadcast,com.google.android.gms/com.google.android.location.network.ConfirmAlertActivity$LocationModeChangingReceiver]
I/ActivityManager( 621): Start proc com.google.android.gms.ui for broadcast com.google.android.gms/com.google.android.location.network.ConfirmAlertActivity$LocationModeChangingReceiver: pid=28997 uid=10007 gids={50007, 2001, 3003, 1007, 3006, 1028, 1015, 3002, 3001, 3007}
I/am_create_service( 621): [0,753548704,.LocationHistoryInjectorService,10007,1227]
I/am_destroy_service( 621): [0,753548704,1227]
I/am_proc_bound( 621): [0,28997,com.google.android.gms.ui]
W/ResourcesManager(28997): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager(28997): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
I/MultiDex(28997): VM with version 2.0.0 does not have multidex support
I/MultiDex(28997): install
I/MultiDex(28997): MultiDexExtractor.load(/system/priv-app/PrebuiltGmsCore.apk, false)
I/MultiDex(28997): loading existing secondary dex files
I/MultiDex(28997): load found 1 secondary dex files
I/MultiDex(28997): install done
I/ProviderInstaller(28997): Insert disabled by gate 'gms:security:enable_conscrypt_in_gms_application'
I/am_activity_launch_time( 621): [0,639556275,com.android.settings/.SubSettings,232,232]
I/ActivityManager( 621): Displayed com.android.settings/.SubSettings: +232ms
D/GCM ( 1128): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
I/am_create_service( 621): [0,577137962,.InitializeIntentService,10007,1200]
I/am_destroy_service( 621): [0,577137962,1200]
I/Fitness ( 1200): GmsCore updated. Initializing Fitness
I/am_create_service( 621): [0,861632283,.LocationHistoryInjectorService,10007,1227]
I/am_destroy_service( 621): [0,861632283,1227]
I/sf_frame_dur( 195): [com.android.settings/com.android.settings.Settings,15,2,1,0,1,1,1]
I/art ( 1062): Heap transition to ProcessStateJankImperceptible took 38.757323ms saved at least 2MB
I/wpa_supplicant( 762): wlan0: CTRL-EVENT-SCAN-STARTED
I/WifiHAL ( 621): Found some events!!!
I/WifiHAL ( 621): Found some events!!!
I/ActivityManager( 621): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 21148 on display 0
I/wm_task_moved( 621): [73,1,5]
I/am_create_activity( 621): [0,1058811537,73,com.android.settings/.SubSettings,android.intent.action.MAIN,NULL,NULL,0]
I/am_pause_activity( 621): [0,639556275,com.android.settings/.SubSettings]
I/am_on_paused_called(21148): [0,com.android.settings.SubSettings]
I/am_restart_activity( 621): [0,1058811537,73,com.android.settings/.SubSettings]
D/SubSettings(21148): Launching fragment com.android.settings.location.LocationMode
I/LocationSettingsBase(21148): Location mode has been changed
I/am_on_resume_called(21148): [0,com.android.settings.SubSettings]
I/am_activity_launch_time( 621): [0,1058811537,com.android.settings/.SubSettings,167,167]
I/ActivityManager( 621): Displayed com.android.settings/.SubSettings: +167ms
I/art (28997): Heap transition to ProcessStateJankImperceptible took 19.744874ms saved at least 233KB
I/sf_frame_dur( 195): [com.android.settings/com.android.settings.SubSettings,26,1,0,0,0,0,2]
I/auditd ( 238): type=1400 audit(0.0:325): avc: granted { dac_override } for comm="mpdecision" capability=1 scontext=u:r:mpdecision:s0 tcontext=u:r:mpdecision:s0 tclass=capability
[COLOR="Red"]W/ContextImpl(21148): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1264 android.content.ContextWrapper.sendBroadcast:371 com.android.settings.location.LocationSettingsBase.setLocationMode:110 com.android.settings.location.LocationMode.onRadioButtonClicked:104 com.android.settings.location.RadioButtonPreference.onClick:64
I/backup_data_changed( 621): com.android.providers.settings[/COLOR]
I/force_gc( 621): Binder
I/LocationSettingsBase(21148): Location mode has been changed
I/LocationSettingsBase(21148): Location mode has been changed
I/art ( 621): Explicit concurrent mark sweep GC freed 36963(1681KB) AllocSpace objects, 7(4MB) LOS objects, 450% free, 79MB/95MB, paused 1.190ms total 84.838ms
I/GCoreUlr( 1227): Starting service, intent=Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) }, extras=Bundle[{receiverAction=android.location.PROVIDERS_CHANGED}]
D/BluetoothAdapter(21148): 602045225: getState() : mService = null. Returning STATE_OFF
I/GCoreUlr( 1227): WorldUpdater received intent Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) } with receiverAction android.location.PROVIDERS_CHANGED
I/force_gc( 1128): Binder
I/art ( 1128): Explicit concurrent mark sweep GC freed 15982(884KB) AllocSpace objects, 0(0B) LOS objects, 1232% free, 9MB/14MB, paused 640us total 25.939ms
I/GCoreUlr( 1227): Ensuring that reporting is active for [account#-8#]
I/GCoreUlr( 1227): Starting service, intent=Intent { act=com.google.android.location.reporting.ACTION_LOCATION_STATUS cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) }, extras=Bundle[{status=LocationStatus[cell status: STATUS_NO_INFO_IN_DATABASE, wifi status: STATUS_SUCCESSFUL, elapsed realtime ns: 50872412429596]}]
I/AdsMeasurementBroadcastReceiver( 1200): Reporting settings might have changed, alerting AdsMeasurementService
[COLOR="red"]D/AdsMeasurementBroadcastReceiver( 1200): Unauthorized to start the main service[/COLOR]
I/am_finish_activity( 621): [0,1058811537,73,com.android.settings/.SubSettings,app-request]
I/am_pause_activity( 621): [0,1058811537,com.android.settings/.SubSettings]
I/am_on_paused_called(21148): [0,com.android.settings.SubSettings]
I/am_resume_activity( 621): [0,639556275,73,com.android.settings/.SubSettings]
I/LocationSettingsBase(21148): Location mode has been changed
I/am_on_resume_called(21148): [0,com.android.settings.SubSettings]
I/am_create_service( 621): [0,565568342,.LocationHistoryInjectorService,10007,1227]
I/am_destroy_service( 621): [0,565568342,1227]
I/am_create_service( 621): [0,809119703,.LocationHistoryInjectorService,10007,1227]
I/am_destroy_service( 621): [0,809119703,1227]
I/am_destroy_activity( 621): [0,1058811537,73,com.android.settings/.SubSettings,finish-imm]
I/sf_frame_dur( 195): [com.android.settings/com.android.settings.SubSettings,17,1,0,0,0,0,2]

---------- Post added at 09:08 AM ---------- Previous post was at 08:56 AM ----------

The more, I think about Location Energy Saver Mode, I belief, the issue is WiFi/Mobile Network -related:confused:

The Option 'Energy Saver Mode' tries to switch from

GPS+Wifi+mobile Data loaction base to

Wifi/Mobile Data only location base -> and will be switched back immediately somehow:confused:

(only some of my thoughts for that...)