gpt4 book ai didi

android - 与 MobileSignalController logcat 消息相关的高电池消耗(voiceNetType 13 到 0)

转载 作者:行者123 更新时间:2023-11-29 22:40:39 25 4
gpt4 key购买 nike

首先,为问题提供一些背景信息:

我住在奥地利格拉茨,我的诺基亚 5 手机已经使用了大约两年,在过去的 5-6 个月里,我的电池消耗突然增加,而我这边的行为却没有任何真正的改变。然后突然间,在克罗地亚度假时,我注意到我的电池突然可以使用 1.5 到 2.5 天,而不是我在家时的 0.5 天。回到家里,我充满电的手机再次只用了大约 0.5 天......起初我认为这可能是由于我假期期间手机使用量减少所致,但一个月前我在伦敦参加 droidcon 期间,我注意到了同样的行为:不同的国家,较低的电池消耗;回到奥地利,电池消耗更高。

MobileSignalController 垃圾邮件 logcat

尝试使用 logcat 获取有关我的问题的一些信息时,我立即注意到 MobileSignalController 组件正在发送有关状态更改的垃圾消息,其中 voiceNetType 更改>130。所以我怀疑高电池使用率可能是由我的服务提供商(称为 bob)的一些奇怪行为引起的。

我的一位同事提出的问题的另一个可能原因是某些应用程序在手机漫游时可能会有不同的行为(对我来说听起来很合理,不知道应用程序是否会影响 MobileSignalController的行为)。

我想知道的

由于我对 Android 操作系统的那部分不是很有经验,我想知道是否有人对操作系统的那部分有经验,这样的状态变化一般意味着什么,背后的原因是什么这样的状态变化都是。

此外,我也很感兴趣,作为一名程序员,我是否有可能从设置/软件方面解决这个特定问题。

Logcat 输出,为了完整起见,针对“移动”过滤


2019-11-25 10:44:55.483 3072-3265/? D/NetworkController.MobileSignalController(1): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -160 -1 27 -91 -15 0 2147483647 0 2147483647 99 -2147483529 2147483647 gsm|lte use_rsrp_and_rssnr_for_lte_level rscp [-140, -120, -113, -105] [-120, -103, -97, -89] 99 99
2019-11-25 10:44:55.483 3072-3265/? I/NetworkController.MobileSignalController(1): updateVoiceNetworkType voiceNetType: 13 mCurrentState.connected: true
2019-11-25 10:44:55.489 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:44:55.490 3072-3265/? D/NetworkController.MobileSignalController(1): Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:44:53,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=0strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:44:53,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=13strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
2019-11-25 10:44:55.490 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:44:55.490 3072-3265/? I/NetworkController.MobileSignalController(1): notifyListeners showDataIcon: true mDataType: 2131232290 mShowNoData: true mComboNetworkTypeIconId: 0 mRoamingNetworkTypeIconId: 0 mDataNetType: 13 mCurrentState.userSetup: true dataDisabled: false mCurrentState.dataConnected: true mCurrentState.imsRadioTechnology: 0 mAllowShowVoLTE[0]: false mAllowShowVoLTE[1]: false mAllowShowVoWiFi[0]: false mAllowShowVoWiFi[1]: false mSignalStyleCT: false SubscriptionId: 1 mShowVoLTEOption: 0 mShowVoWiFiOption: 0 mSubInfoSize: 1 mSimSlotId: 0
2019-11-25 10:44:55.493 3072-3265/? I/NetworkController.MobileSignalController(1): isMobileIms return false
2019-11-25 10:44:55.495 3072-3265/? I/NetworkController.MobileSignalController(1): isImsRegisteredInWifi return false
2019-11-25 10:44:55.495 3072-3072/? I/StatusBarSignalPolicy: setMobileDataIndicators mMobileVisible: true mMobileVisibleSim1: true mMobileVisibleSim2: true
2019-11-25 10:44:55.495 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:44:55.495 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:00.572 3072-3265/? D/NetworkController.MobileSignalController(1): Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:44:55,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=0strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=true,activityOut=false,rssi=0,lastModified=11-25 10:44:55,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=13strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
2019-11-25 10:45:00.572 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:00.572 3072-3265/? I/NetworkController.MobileSignalController(1): notifyListeners showDataIcon: true mDataType: 2131232290 mShowNoData: true mComboNetworkTypeIconId: 0 mRoamingNetworkTypeIconId: 0 mDataNetType: 13 mCurrentState.userSetup: true dataDisabled: false mCurrentState.dataConnected: true mCurrentState.imsRadioTechnology: 0 mAllowShowVoLTE[0]: false mAllowShowVoLTE[1]: false mAllowShowVoWiFi[0]: false mAllowShowVoWiFi[1]: false mSignalStyleCT: false SubscriptionId: 1 mShowVoLTEOption: 0 mShowVoWiFiOption: 0 mSubInfoSize: 1 mSimSlotId: 0
2019-11-25 10:45:00.578 3072-3265/? I/NetworkController.MobileSignalController(1): isMobileIms return false
2019-11-25 10:45:00.579 3072-3265/? I/NetworkController.MobileSignalController(1): isImsRegisteredInWifi return false
2019-11-25 10:45:00.579 3072-3072/? I/StatusBarSignalPolicy: setMobileDataIndicators mMobileVisible: true mMobileVisibleSim1: true mMobileVisibleSim2: true
2019-11-25 10:45:00.593 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232304 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:00.593 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232304 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:01.578 3072-3265/? D/NetworkController.MobileSignalController(1): Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=true,activityOut=false,rssi=0,lastModified=11-25 10:45:00,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=0strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:00,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=13strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
2019-11-25 10:45:01.578 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:01.578 3072-3265/? I/NetworkController.MobileSignalController(1): notifyListeners showDataIcon: true mDataType: 2131232290 mShowNoData: true mComboNetworkTypeIconId: 0 mRoamingNetworkTypeIconId: 0 mDataNetType: 13 mCurrentState.userSetup: true dataDisabled: false mCurrentState.dataConnected: true mCurrentState.imsRadioTechnology: 0 mAllowShowVoLTE[0]: false mAllowShowVoLTE[1]: false mAllowShowVoWiFi[0]: false mAllowShowVoWiFi[1]: false mSignalStyleCT: false SubscriptionId: 1 mShowVoLTEOption: 0 mShowVoWiFiOption: 0 mSubInfoSize: 1 mSimSlotId: 0
2019-11-25 10:45:01.598 3072-3265/? I/NetworkController.MobileSignalController(1): isMobileIms return false
2019-11-25 10:45:01.599 3072-3265/? I/NetworkController.MobileSignalController(1): isImsRegisteredInWifi return false
2019-11-25 10:45:01.600 3072-3072/? I/StatusBarSignalPolicy: setMobileDataIndicators mMobileVisible: true mMobileVisibleSim1: true mMobileVisibleSim2: true
2019-11-25 10:45:01.615 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:01.615 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:02.203 3072-3265/? D/NetworkController.MobileSignalController(1): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -160 -1 27 -91 -13 9 2147483647 0 2147483647 99 -2147483529 2147483647 gsm|lte use_rsrp_and_rssnr_for_lte_level rscp [-140, -120, -113, -105] [-120, -103, -97, -89] 99 99
2019-11-25 10:45:02.203 3072-3265/? I/NetworkController.MobileSignalController(1): updateVoiceNetworkType voiceNetType: 13 mCurrentState.connected: true
2019-11-25 10:45:02.205 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:02.206 3072-3265/? D/NetworkController.MobileSignalController(1): Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:01,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=0strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:01,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=13strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
2019-11-25 10:45:02.206 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:02.207 3072-3265/? I/NetworkController.MobileSignalController(1): notifyListeners showDataIcon: true mDataType: 2131232290 mShowNoData: true mComboNetworkTypeIconId: 0 mRoamingNetworkTypeIconId: 0 mDataNetType: 13 mCurrentState.userSetup: true dataDisabled: false mCurrentState.dataConnected: true mCurrentState.imsRadioTechnology: 0 mAllowShowVoLTE[0]: false mAllowShowVoLTE[1]: false mAllowShowVoWiFi[0]: false mAllowShowVoWiFi[1]: false mSignalStyleCT: false SubscriptionId: 1 mShowVoLTEOption: 0 mShowVoWiFiOption: 0 mSubInfoSize: 1 mSimSlotId: 0
2019-11-25 10:45:02.210 3072-3265/? I/NetworkController.MobileSignalController(1): isMobileIms return false
2019-11-25 10:45:02.212 3072-3265/? I/NetworkController.MobileSignalController(1): isImsRegisteredInWifi return false
2019-11-25 10:45:02.212 3072-3072/? I/StatusBarSignalPolicy: setMobileDataIndicators mMobileVisible: true mMobileVisibleSim1: true mMobileVisibleSim2: true
2019-11-25 10:45:02.213 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:02.213 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:04.443 3072-3265/? D/NetworkController.MobileSignalController(1): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -160 -1 27 -92 -12 24 2147483647 0 2147483647 99 -2147483529 2147483647 gsm|lte use_rsrp_and_rssnr_for_lte_level rscp [-140, -120, -113, -105] [-120, -103, -97, -89] 99 99
2019-11-25 10:45:04.443 3072-3265/? I/NetworkController.MobileSignalController(1): updateVoiceNetworkType voiceNetType: 13 mCurrentState.connected: true
2019-11-25 10:45:04.445 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:04.447 3072-3265/? D/NetworkController.MobileSignalController(1): Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:02,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=0strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:02,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=13strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
2019-11-25 10:45:04.447 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:04.447 3072-3265/? I/NetworkController.MobileSignalController(1): notifyListeners showDataIcon: true mDataType: 2131232290 mShowNoData: true mComboNetworkTypeIconId: 0 mRoamingNetworkTypeIconId: 0 mDataNetType: 13 mCurrentState.userSetup: true dataDisabled: false mCurrentState.dataConnected: true mCurrentState.imsRadioTechnology: 0 mAllowShowVoLTE[0]: false mAllowShowVoLTE[1]: false mAllowShowVoWiFi[0]: false mAllowShowVoWiFi[1]: false mSignalStyleCT: false SubscriptionId: 1 mShowVoLTEOption: 0 mShowVoWiFiOption: 0 mSubInfoSize: 1 mSimSlotId: 0
2019-11-25 10:45:04.451 3072-3265/? I/NetworkController.MobileSignalController(1): isMobileIms return false
2019-11-25 10:45:04.452 3072-3265/? I/NetworkController.MobileSignalController(1): isImsRegisteredInWifi return false
2019-11-25 10:45:04.455 3072-3072/? I/StatusBarSignalPolicy: setMobileDataIndicators mMobileVisible: true mMobileVisibleSim1: true mMobileVisibleSim2: true
2019-11-25 10:45:04.455 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:04.455 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:08.859 3072-3265/? D/NetworkController.MobileSignalController(1): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -160 -1 28 -91 -13 44 2147483647 0 2147483647 99 -2147483529 2147483647 gsm|lte use_rsrp_and_rssnr_for_lte_level rscp [-140, -120, -113, -105] [-120, -103, -97, -89] 99 99
2019-11-25 10:45:08.859 3072-3265/? I/NetworkController.MobileSignalController(1): updateVoiceNetworkType voiceNetType: 13 mCurrentState.connected: true
2019-11-25 10:45:08.861 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:08.862 3072-3265/? D/NetworkController.MobileSignalController(1): Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:04,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=0strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:04,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=13strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
2019-11-25 10:45:08.862 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:08.862 3072-3265/? I/NetworkController.MobileSignalController(1): notifyListeners showDataIcon: true mDataType: 2131232290 mShowNoData: true mComboNetworkTypeIconId: 0 mRoamingNetworkTypeIconId: 0 mDataNetType: 13 mCurrentState.userSetup: true dataDisabled: false mCurrentState.dataConnected: true mCurrentState.imsRadioTechnology: 0 mAllowShowVoLTE[0]: false mAllowShowVoLTE[1]: false mAllowShowVoWiFi[0]: false mAllowShowVoWiFi[1]: false mSignalStyleCT: false SubscriptionId: 1 mShowVoLTEOption: 0 mShowVoWiFiOption: 0 mSubInfoSize: 1 mSimSlotId: 0
2019-11-25 10:45:08.868 3072-3265/? I/NetworkController.MobileSignalController(1): isMobileIms return false
2019-11-25 10:45:08.870 3072-3265/? I/NetworkController.MobileSignalController(1): isImsRegisteredInWifi return false
2019-11-25 10:45:08.870 3072-3072/? I/StatusBarSignalPolicy: setMobileDataIndicators mMobileVisible: true mMobileVisibleSim1: true mMobileVisibleSim2: true
2019-11-25 10:45:08.870 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:08.870 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
2019-11-25 10:45:10.214 3072-3265/? D/NetworkController.MobileSignalController(1): Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:08,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=0strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(4G),activityIn=false,activityOut=false,rssi=0,lastModified=11-25 10:45:08,dataSim=true,networkName=bob,networkNameData=bob,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,imsRadioTechnology=0,comboTypeIcon=2131232334,roamingIcon=0,voiceNetType=13strengthIconCT=0,carrierConfigUpdated=1,voiceLevel=0,dataActivity=0
2019-11-25 10:45:10.215 3072-3265/? I/NetworkController.MobileSignalController(1): isShowSXLTEStyle: false isRoaming: false
2019-11-25 10:45:10.215 3072-3265/? I/NetworkController.MobileSignalController(1): notifyListeners showDataIcon: true mDataType: 2131232290 mShowNoData: true mComboNetworkTypeIconId: 0 mRoamingNetworkTypeIconId: 0 mDataNetType: 13 mCurrentState.userSetup: true dataDisabled: false mCurrentState.dataConnected: true mCurrentState.imsRadioTechnology: 0 mAllowShowVoLTE[0]: false mAllowShowVoLTE[1]: false mAllowShowVoWiFi[0]: false mAllowShowVoWiFi[1]: false mSignalStyleCT: false SubscriptionId: 1 mShowVoLTEOption: 0 mShowVoWiFiOption: 0 mSubInfoSize: 1 mSimSlotId: 0
2019-11-25 10:45:10.225 3072-3265/? I/NetworkController.MobileSignalController(1): isMobileIms return false
2019-11-25 10:45:10.226 3072-3265/? I/NetworkController.MobileSignalController(1): isImsRegisteredInWifi return false
2019-11-25 10:45:10.226 3072-3072/? I/StatusBarSignalPolicy: setMobileDataIndicators mMobileVisible: true mMobileVisibleSim1: true mMobileVisibleSim2: true
2019-11-25 10:45:10.226 3072-3072/? D/StatusBarVolteView: states = [MobileIconState(subId=1, strengthId=2131232326, roaming=false, typeId=2131232290, volteId=0, visible=true mDataArrowId=2131232308 mComboNetworkTypeId=0mRoamingNetworkTypeId=0 mVoLTEOption=0 mVoWiFiOption=0 mSubscriptionSize=1 mImsOverWifi=false mMobileIms=false),5GState(fiveGIconVisible=false, fiveGStrengthId=66560, dataOnFiveG=false, is4GStateVisible=true)] visible = true
...

这会持续几千行......

最佳答案

据我所知,电池消耗不依赖于家庭或漫游网络。但这取决于你旅行的时间,让我们假设如果你正在旅行,它会消耗更多的电池作为它的开关塔并试图找到信号并且在浏览你的日志时我可以看到它试图连接到信号,让我们假设信号可能在某些地方较弱,设备将很难找到信号,因此会耗尽电池电量,更多关于探索日志的信息发现 updateTelephony 已被调用多次,这就像一个列表方法,它是用于在信号参数(如(mServiceState、mSignalStrength、mDataNetType、mDataState 和 mSimState)发生变化时更新状态,下面是框架中的方法,可以解释相同的情况。

2019-11-25 10:44:55.483 3072-3265/? D/NetworkController.MobileSignalController(1): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -160 -1 27 -91 -15 0 2147483647 0 2147483647 99 -2147483529 2147483647 gsm|lte use_rsrp_and_rssnr_for_lte_level rscp [-140, -120, -113, -105] [-120, -103, -97, -89] 99 99
2019-11-25 10:45:02.203 3072-3265/? D/NetworkController.MobileSignalController(1): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -160 -1 27 -91 -13 9 2147483647 0 2147483647 99 -2147483529 2147483647 gsm|lte use_rsrp_and_rssnr_for_lte_level rscp [-140, -120, -113, -105] [-120, -103, -97, -89] 99 99
2019-11-25 10:45:04.443 3072-3265/? D/NetworkController.MobileSignalController(1): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -160 -1 27 -92 -12 24 2147483647 0 2147483647 99 -2147483529 2147483647 gsm|lte use_rsrp_and_rssnr_for_lte_level rscp [-140, -120, -113, -105] [-120, -103, -97, -89] 99 99
2019-11-25 10:45:08.859 3072-3265/? D/NetworkController.MobileSignalController(1): updateTelephony: hasService=true ss=SignalStrength: 99 0 -120 -160 -120 -160 -1 28 -91 -13 44 2147483647 0 2147483647 99 -2147483529 2147483647 gsm|lte use_rsrp_and_rssnr_for_lte_level rscp [-140, -120, -113, -105] [-120, -103, -97, -89] 99 99

框架中 updateTelephony 方法的源代码:

private final void updateTelephony() {
if (DEBUG) {
Log.d(mTag, "updateTelephonySignalStrength: hasService=" + hasService()
+ " ss=" + mSignalStrength);
}
mCurrentState.connected = hasService() && mSignalStrength != null;
if (mCurrentState.connected) {
if (!mSignalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) {
mCurrentState.level = mSignalStrength.getCdmaLevel();
} else {
mCurrentState.level = mSignalStrength.getLevel();
}
}
if (mNetworkToIconLookup.indexOfKey(mDataNetType) >= 0) {
mCurrentState.iconGroup = mNetworkToIconLookup.get(mDataNetType);
} else {
mCurrentState.iconGroup = mDefaultIcons;
}
mCurrentState.dataConnected = mCurrentState.connected
&& mDataState == TelephonyManager.DATA_CONNECTED;
if (isCarrierNetworkChangeActive()) {
mCurrentState.iconGroup = TelephonyIcons.CARRIER_NETWORK_CHANGE;
} else if (isRoaming()) {
mCurrentState.iconGroup = TelephonyIcons.ROAMING;
}
if (isEmergencyOnly() != mCurrentState.isEmergency) {
mCurrentState.isEmergency = isEmergencyOnly();
mNetworkController.recalculateEmergency();
}
// Fill in the network name if we think we have it.
if (mCurrentState.networkName == mNetworkNameDefault && mServiceState != null
&& mServiceState.getOperatorAlphaShort() != null) {
mCurrentState.networkName = mServiceState.getOperatorAlphaShort();
}
notifyListenersIfNecessary();
}

代码来源:

https://android.googlesource.com/platform/frameworks/base/+/33f8ae7/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java

关于android - 与 MobileSignalController logcat 消息相关的高电池消耗(voiceNetType 13 到 0),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59031981/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com