La TIM la odia proprio... ho provato a staccare la FD(ho eliminato la voce da nwk_info,spero basti) e ha fatto 100-55% sempre in 6 ore... installo Gestore 3G e spero vada meglio
Visualizzazione stampabile
hacker forever, eh? :D
grep è un comando Unix. Si riesce ad avere anche in Windows, credo che faccia parte della shell avanzate di Windows 7 Ultimate. Oppure con Gycwin come si chiama. Infatti anche per quello vado male a fare una guida, e ho scritto che quel comando, se si è in Windows, bisogna lanciarlo da Android dopo essersi connessi con "adb shell". COn OS X e Linux ovviamente non ci sono problemi.
Hmm.. Non si capisce. Se invece sei in Android e non ti funziona, devi avere busybox installato con tutti gli applet. Se il telefono non è almeno rooted on busybox lasciate perdere. O fate il rooting.
PS: Gius, prova un po' a vedere quanto consuma con 3G proprio spento. Se i consumi restano alti almeno sai che c'è qualcos'altro che non va. Che non sia un processo che si incanta. BBS lo usi? Senza di quello vai alla cieca e basta. Giusto per capirci.. Ci ho messo SEI MESI a sistemare i consumi del mio. Ora pare che abbia trovato la giusta configurazione (sistemando i file Samsung, però!). Ho una pagina del launcher dedicata solo ai widget per la batteria..
Mah, abbastanza evidente. È rootato, ma ha il kernel stock. Quindi l'unica spiegazione è che manchino delle applet di busybox. Ti consiglio di scaricare il busybox installer e di fare uno smart install
Inviato dal mio ST25i con Tapatalk 2
Non se ha eseguito da DOS prompt
adb logcat | grep fastDormancy
Le chances con Windows che non funzioni sono alte. Poi spiegatemi voi come farlo funzionare in Windows, così magari correggo la guida che fa pena. Giusto per completezza, con la FD abilitata da logcat si deve vedere questo (al boot time):
Io sospetto che dove si incastri tutto sia la prima linea, in grassetto. No plmn stica, il plmn c'è anche troppo. Se poi va in roaming aggiorni per il nuovo plmn se il roaming per i dati è abilitato. Ora funziona perché l'ho fatto funzionare con Sysdump, ma dovrebbe costruire tutto al primo boot.codice:12-11 23:31:04.585 E/FastDormancy( 1815): [FD] FastDormancy Constructor No plmn
12-11 23:31:21.164 E/FastDormancy( 1815): [FD] provider data area
12-11 23:31:21.226 E/FastDormancy( 1815): [FD] setDormancyTime: 22299
12-11 23:31:21.257 E/FastDormancy( 1815): [FD] (cursor != null)
12-11 23:31:21.257 E/FastDormancy( 1815): [FD] (cursor.moveToFirst())
12-11 23:31:21.257 E/FastDormancy( 1815): [FD] mScreenOnDormTime: 0 dormLCDOnPolicy: false mScreenOffDormTime: 0 dormLCDOffPolicy: false in DB
12-11 23:31:21.257 E/FastDormancy( 1815): [FD] By default FD, DormTime has to be changed to :5000
12-11 23:31:25.406 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
12-11 23:31:25.406 D/FastDormancy( 1815): [FD] ON default: true
12-11 23:31:25.406 D/FastDormancy( 1815): [FD] gps.fd.block = false
12-11 23:31:25.406 E/FastDormancy( 1815): [FD] Dormant flag(true) from key string
12-11 23:31:25.406 D/FastDormancy( 1815): Before mDormFlag: true in getCapaDormancy()
12-11 23:31:25.406 D/FastDormancy( 1815): After mDormFlag: true in getCapaDormancy()
12-11 23:31:25.406 W/FastDormancy( 1815): ======= ENTER DORMANCY =======
12-11 23:31:25.414 D/FastDormancy( 1815): ======= FAST DORMANCY Enter =======
12-11 23:31:32.312 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
Ah, "setDormancyTime: 22299" invece a giudicare dal codice Java è corretto. "setDormancyTime" è il nome della routine, e 22299 è il plmn della 3. Qui il problema (e riguarda tutti i Galaxy) è che pure il logging è fatto con i piedi. Va interpretato usando carte astrali. Altro che Maya!! rotfl
PS: Durata finale della batteria: 75 ore!! Usato poco, ma fatta una valanga di aggiornamenti dal Google Play. Pare che tra ieri e oggi abbiano aggiornato tutti insieme.
E' sempre il 2,5%. Ma Gestore 3G è una pezza, spegne proprio il 3G per riaccenderlo brevemente a intervalli regolari. TIM comunque non ha la sua sezione per la FD nel file nwk_info.xml. A questo punto è bene assicurarsi son Sysdump che la FD sia spenta, dopo aver ricreato dalle opzioni l'APN.
Insomma, dovresti testare monitorando il logcat a seconda di quello che fai. Credo che anche SD l'importante sia avere lunghe serie di questi messggi:
Meglio se si controlla in parallelo usando SystemService (*#0011#). Lì dovrebbe essere dove il 3G è in IDLE, risparmiando la batteria. e invece hai una situazione del tipo:codice:12-12 03:27:22.008 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
12-12 03:27:27.047 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
12-12 03:27:32.063 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
[…]
12-12 03:27:37.078 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
Il telefono ha il 3G praticamente sempre connesso, consumando al massimo.codice:12-12 03:21:18.328 D/FastDormancy( 1815): Before mDormFlag: true in getCapaDormancy()
12-12 03:21:18.391 D/FastDormancy( 1815): After mDormFlag: true in getCapaDormancy()
12-12 03:21:18.391 W/FastDormancy( 1815): ======= ENTER DORMANCY =======
12-12 03:21:28.414 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
12-12 03:21:28.414 D/FastDormancy( 1815): [FD] ON default: true
12-12 03:21:28.414 D/FastDormancy( 1815): [FD] gps.fd.block = false
12-12 03:21:28.414 E/FastDormancy( 1815): [FD] Dormant flag(true) from key string
12-12 03:21:28.414 D/FastDormancy( 1815): Before mDormFlag: true in getCapaDormancy()
12-12 03:21:28.446 D/FastDormancy( 1815): After mDormFlag: true in getCapaDormancy()
12-12 03:21:28.446 W/FastDormancy( 1815): ======= ENTER DORMANCY =======
12-12 03:21:45.508 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
12-12 03:21:45.516 D/FastDormancy( 1815): [FD] ON default: true
12-12 03:21:45.516 D/FastDormancy( 1815): [FD] gps.fd.block = false
12-12 03:21:45.516 E/FastDormancy( 1815): [FD] Dormant flag(true) from key string
12-12 03:21:45.516 D/FastDormancy( 1815): Before mDormFlag: true in getCapaDormancy()
12-12 03:21:45.516 D/FastDormancy( 1815): After mDormFlag: true in getCapaDormancy()
12-12 03:21:45.524 W/FastDormancy( 1815): ======= ENTER DORMANCY =======
12-12 03:21:57.993 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======
12-12 03:21:57.993 D/FastDormancy( 1815): [FD] ON default: true
12-12 03:21:57.993 D/FastDormancy( 1815): [FD] gps.fd.block = false
12-12 03:21:57.993 E/FastDormancy( 1815): [FD] Dormant flag(true) from key string
12-12 03:21:57.993 D/FastDormancy( 1815): Before mDormFlag: true in getCapaDormancy()
12-12 03:21:58.000 D/FastDormancy( 1815): After mDormFlag: true in getCapaDormancy()
12-12 03:21:58.008 W/FastDormancy( 1815): ======= ENTER DORMANCY =======
12-12 03:22:03.032 W/FastDormancy( 1815): before ======= ENTER DORMANCY =======