yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] One Twelve:
Interesting, i have this option in India and i was finding strange drain. But when i disabled it on the phone the drain reduced. The problem with disabling location history is you can never use 'find my phone' from google if you lose the phone. I guess this service will not be available for you any way.

No need to uninstall just disable. So we can test what difference it makes. The battery historian will show you which way is better

let them run. Will it be any worse than you are facing right now :)

Without root, blocking some of these apps might even be counter productive if you do not test extensively to see if its a benefit or cost

Let it be at default. If you reduce background processes then how to tell which process is the problem ? the idea should be to run at default and let the OS handle this

lets see your historian graph from tonight. Without greenify. Whether you will get more drain, same or less
[LG V20 Guides, News, & Discussion] amirhosseinakb:
hi

20% draining in 8 hours sleeping ! :rolleyes: again. exactly same rate as before. The more time it takes, the more battery is consumed.

beyond this report, sometimes, despite the fact that the auto brightness is active,but its action does not work by changing environment brightness! and i have to unchek and check again its checkbox via notification bar to activate this feature again.

activity manager details are as following:

AM Proc Start

Jan 29 2018

02:00:00 - 02:00:00

2 occurences

Time | UID | PID | Process | Component

02:00:00 - | 10121 | 17832 | com.android.gallery3d | com.android.gallery3d/com.lge.gallery.data.trashcan.TrashCanAutoDeleteService

02:00:00 - 09:11:00 | 10098 | 17842 | com.lge.cic.eden.service | com.lge.cic.eden.service/com.lge.cic.eden.receiver.EdenBroadcastReceiver

--------

AM Proc Start

Jan 29 2018

03:10:53 - 03:10:53

1 occurences

Time | UID | PID | Process | Component

03:10:53 - 09:11:00 | 10182 | 17947 | com.android.chrome | com.android.chrome/org.chromium.components.background_task_scheduler.BackgroundTaskJobService

----------------

AM Proc Died

Jan 29 2018

03:31:12 - 03:31:12

1 occurences

Time | UID | PID | Process | Component

01:02:03 - 03:31:12 | 10167 | 15643 | com.android.vending | com.android.vending/com.google.android.finsky.billing.iab.InAppBillingService

---------------------------

AM Proc Start

Jan 29 2018

04:51:24 - 04:51:24

1 occurences

Time | UID | PID | Process | Component

04:51:24 - | 10160 | 18028 | com.lge.ia.task.smartsetting | com.lge.ia.task.smartsetting/com.lge.ia.apprecommend.AppRecommendReceiver

----------------

AM Proc Died

Jan 29 2018

05:20:43 - 05:20:43

1 occurences

Time | UID | PID | Process | Component

01:04:42 - 05:20:43 | 1000 | 17178 | com.lge.springcleaning | com.lge.springcleaning/.ui.SpringCleaningActivity

---------------------
[LG V20 Guides, News, & Discussion] amirhosseinakb:
When I check the running services via developer option, Google play services has a active location history sub system running and I can not stop it. As I stop it immediately comes back and started.
[LG V20 Guides, News, & Discussion] amirhosseinakb:
When I check the running services via developer option, Google play services has a active location history sub service running and I can not stop it. As I stop it immediately comes back and started.

I installed LG package disabler pro but issue remains.
[LG V20 Guides, News, & Discussion] One Twelve:
Right and this is with greenify disabled ? if so then there is no difference. What i want you to do is

- delete data and cache for google play services app. Then restart the phone. Do you still see this history location process running ?

- wipe cache from recovery, is this possible ? on my h990s DS there is only factory reset with no option to reset cache at all. if that is the case also with you then i suspect the problem might lie with the way you did the downgrade

You said you went back to the previous update? When you did that did you just use LGUP to flash the older version and after did a factory reset ?

I tried with auto brightness but it seems too variable so i stuck to 20% manual indoors
[LG V20 Guides, News, & Discussion] One Twelve:
The problem is the screen off discharge rate is jumping all over the place even though doze is fully activated
[LG V20 Guides, News, & Discussion] amirhosseinakb:
before this i cleared and delete all data from google play info section and ' location history service' associate with 9 other sub service were running under 'google play services ' service.

same as your phone my recovery section doesn't have any wiping tools like rooted twrp recoveries.

and yes i used refurbish menu of lgup to install older version of rom and i think after it is not necessary to factory reset again.

so both of us stuck in problem ....but whatever the reason is , it refers to system services , i think .
[LG V20 Guides, News, & Discussion] One Twelve:
You said you had the phone for eleven months. Why did you go back to an older version of rom ? how many updates behind are you

Ideally, you should be on the latest not behind. Unless you want to. For me latest is Sept 2017 security patch. no update from LG after.

if you want to move to latest then i have some specific instructions

i don't have a problem. i did an idle test yesterday. After 13h, not touching the phone, screen on only 48s, drain is 2%, 0.2%/h, deep sleep 98.8%

Second screen is off when main screen off (am doing another idle test now with second screen on to see what drain is with it on)

wifi off when screen off - too much devices on my wifi network waking the phone

2g instead of 4g - less hunting for signal

Google location history off - now no strange drain and cpu running

wifi and bluetooth always scan off

Latest update. All apps installed,

No greenify or force doze

No task killers

No battery saving apps only two for monitoring

No root only stock

I don't see why everyone also cannot get the same result
[LG V20 Guides, News, & Discussion] amirhosseinakb:
i'm in this week on last update of lg (v10g) i referred to older stock rom (v10f) because i thought that after latest update this problem have been accrued. but after testing previous version (v10f) i saw that there is not any relation between v10f version and v10g (that is last update)

i prepare phone to downgrade again to 2016 lg stock roms like v10b and v10d to test them too . because i don't know what any action i have to do already ! . this enables me to root my phone of course .

all of your phone's setting are similar to my normal condition before that this draining issue happens to me. maximum draining in that time was 8% at night , i think.

First I doubted second screen ,so i checked any state of its setting and didn't get any meaningful result relate to my battery draining.but i'm waiting to your test.

did you see 'location history service' under sub services of ' google play services ' in running services of developer options ,despite having disabled it?
[LG V20 Guides, News, & Discussion] One Twelve:
How often do you restart the phone ? i want you to do a restart before leaving it to test at night and see what the drain is like.

If still there is no difference, then i want you to do a factory reset because your flash has not gone properly. THen i want you t do another test before you install any apps.

You said you are not using any battery apps or wakelock suppressors ? because these will affect performance

At night you are doing the test in safe mode ?

Doing a retest as my results are 0% loss after 9h with secondary screen on. When i was trying to get to recovery i restarted the phone many times. After doing the idle test i noticed the sensors were not registering as much as before. I don't know why significant movement sensor registers events when the phone is just sitting there but after restarting it register less. The result is now the battery takes very long to run down. So restarting the phone frequently has positive effects

4% after 19h

With manual brightness i notice brightness of second screen does not fluctuate if i move it maybe this is why your discharge rate is fluctuating. With auto brightness second screen can become very bright from time to time and then dim.

I stopped using auto brightness because it was becoming unpredictable. Once you train it, if you switch to manual it forgets all the training and you have to redo it. So now i just leave it in manual. 20% is enough indoors for me

no, its not there

So far what has produced the biggest difference is wifi off when screen is off. Before it was on wifi on when screen off. My wifi network was waking the phone because i have a printer and some smart switches. These devices are constantly talking on the network.

And changing from 2G/3G/4G to 2G only in settings. Range is better this way
[LG V20 Guides, News, & Discussion] amirhosseinakb:
great information about testing second screen , thanks.

i have n't used my data service (2G,3G,4G) and cant give any idea.

i think i mistyped the name of google location sub service. it is "Google Location Service" .please check it again in running services list .you can see it by clicking on " google services" and locking for sub services of it listed there . I CAN'T STOP IT .as i click on stop in starts again immediately and this takes my attention due to my issue.

tonight i downgrade my rom to 2016 version that i download and i hope it gives me any clue of new roms issu.may be....
[LG V20 Guides, News, & Discussion] One Twelve:
For now that is best as radios are all off

Will tell yu tmorrow as i can't uch the phne right now

Can you do a factory reset after the downgrade? don't install any apps after, then do a restart and leave it for 8h. Don't touch the phone. You can leave secondary screen on if you want.

Going up and down like this and i don"t think your cache is is good shape
[LG V20 Guides, News, & Discussion] One Twelve:
Any updates ?
[LG V20 Guides, News, & Discussion] amirhosseinakb:
hi.

according to this , any reset operation and ant change in android behavior needs several weeks to be adopted . unfortunately , i didn't see any change in downgrade to 2016 version of stock Rom (v10b ,v10d , v10f) and at least 15% percent usage reported overnight (7 hours sleeping with fight mode ) while i set every part of phone to Off.

i have not found any reason about my phone's problem yet.
[LG V20 Guides, News, & Discussion] One Twelve:
I don't believe this. When you factory reset its as if the phone came out of the box new. I bet you never saw any drain when it was brand new. i tested mine with no apps and there was not much drain at all. Then i installed a few tested again, and the pattern held.

If that guy restored his apps the way it was before then whatever apps that was causing trouble will create the same result again. It also seems like he has a charging port problem. So this means hardware fault. Is yours like this ? is there anything that leads you t think there is a hardware problem anywhere

Also i think you said you left it overnight in 'safe mode' ?

Now and then there was sudden drain and it was fixed.

With second screen off i avg 0.3%/h so 3% loss in 9h

With second screen on it is 0.6%/h idle so 6% loss in 9h

Wifi is off when screen off, only 2G and location history disabled

Can't do better than that without root

Without resetting which i think you don't want to do. We can try one more thing but before i need to know

- what battery savers, task killers you have.

- Whether you have disabled any packages

- any things enabled in developer options

otherwise they will skew results and there will not be a clear way to interpret the results. The idea is to get as stock a result as possible so then you can tell if you try any tweaks after whether they work or not

15% in 9h is 2%/h drain or three times higher than normal with second screen on
[LG V20 Guides, News, & Discussion] amirhosseinakb:
i didn't get any better result with safe mode overnight.in all nights i turned off all services like wifi , location , second screen , google play services , mobile network (air plane mode is ON ) and temperature is 20 .C , and every thing you mentioned.

i disabled all default google apps like Google play services , google app , gmail , drive , calender , cloud , google play music , hangouts , in Apps , Maps , Photos ,sheets, docs , slides, youtube and some LG apps like Smartworld ,LGhealth , QuickRemote .

my current installed Rom is v10g version and all stock lg updates installed via update section of mobile directly.

no Developer Options setting changed by me and all setting is default and i disabled it like attached image.

i installed Lux Lite Pro that is better than Auto Brightness service of Lg and it makes draining slower approximately.

( please note that i found that when we disable second screen to being off while main screen is On , phone don't do it completely and second screen just don't show things and electronically background light is On, Although we can detect it in the completely dark room only not in bright room ! In this situation i saw pixels go off competely when i turning off the main screen using power button .when main screen turned off second screen either turned off completely (in electric pixel level i means ).

- my fast charging performance is good and fully charged in 130 min. albeit , i have found that it is better to charge phone up to 80% because every full charging wears battery 1 cycle while charging up to 80% only wear 0.2 cycle.(this is not related to our test and is just for increasing our knowledge)

- i tested several thing like these and didn't get any solution about my battery drain issue:

- trying install all apps from google play to simulate situation like before this draining affected me.

- changing default Launcher to Nova Prime Launcher (same drain detected)

- installing Greenify app and hibernate apps immediately after screen getting Off ( same drain detected)

- installing AccuBattery app to gain more info about consuming and results is attached here ( drain overnight is same (about 20%) with all apps is hibernated )

- Mobile Network manually set to 'GSM Only ' although i don't use any 2G,3G or 4G data service for accessing internet via phone .

if you refer to factory reset my phone again and start testing without third party apps for awhile , please mention it.

currently battery draining overnight fluctuated between 15% to 25% in detailed condition.
[LG V20 Guides, News, & Discussion] One Twelve:
Not factory reset, i want to try better battery stats app. But there is a strict procedure to follow to get meaningful results. I can guide you here if you agree.
[LG V20 Guides, News, & Discussion] amirhosseinakb:
ok my friend .tell what steps can i do.

we tried some of them before .
[LG V20 Guides, News, & Discussion] One Twelve:
So, you have to get the BBS app first. You can get the latest

here

.

2.2.2.0

Once you have it, you have to grant one permission in adb as explained

here

You said you have adb installed. So connect phone to your pc.

adb shell

pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS

If successful, we have to check it was taken properly so in the BBS app, go to settings - Advanced - (go to bottom of the list, see System App ? click it. Post screenshot of the screen here.

There is more to do after this which we will get into
[LG V20 Guides, News, & Discussion] amirhosseinakb:
Here are screen shots of overnight sleeping with flight mode.

15% draining during about 6 hours.
[LG V20 Guides, News, & Discussion] One Twelve:
Screenshots isn't the best way as the information isn't complete. You should have said something when you finished the last step before doing the test. There is a strict procedure to follow here.

Follow the instructions below and attach the dumpfile

go into BBS-Settings-Advanced- (scroll to the bottom and click System App) and verify it says BATTERY_STATS granted. Cannot proceed further otherwise. Check for the word granted.

If ok, back out of advanced and tap 'Watchdog' then enable

To start, testing will be with second screen off. Airplane mode. To reduce variables.

What battery level is when you start the idle test matters. Can be anywhere between 50 to 95 but not over or under. More consistent data between those two points.

Let it rest for a minimum of six hours. Do not touch it during this time. if the phone rings and you answer it then your log is going to get polluted with irrelevant info. It's useless, have to redo the idle test. The not touching it matters a lot.

When time is up, in the app under summary there are a couple of dropdown menus. Select 'Screen Off' instead of 'Unplugged' for the left and the menu next to it, select 'Screen On' instead of Current. Telling it to print data only during the time screen last switched off and turned back on. Very handy. As you can use your phone before the test and when ready to do the test it doesn't matter where you start within the limits mentioned. Screen off to screen on, That's what watchdog does.

After that, Look for the share button at top and select Dumpfile then Save. The txt file will be saved in emulated/0 so in LG's file manager, Internal storage, scroll down, it should be there by default. file name betterbatterystats- date-time.txt

Post that txt file as an attachment in your next post.

There are four key points here,

- idle test done when battery between 50 - 95

- your screen on during the idle test cannot exceed 1 minute. No touching, In your screenshot above it is 2min+ try and get it lower

- getting the correct start and end points meaning you selected screen off to screen on to record in the dump.

- idle test should be a minimum of six hours

Getting the procedure right means you don't waste runs. And you will be doing several as you hone things
[LG V20 Guides, News, & Discussion] amirhosseinakb:
Hi

I did instruction.7 hours and 47 mins.without any action.deep sleep.

I can't access directory you memtioned.may be device is not rooted.

I connected the phone to pc and i think after that our presented period changed to 8 hourd and 42 mins!! While i didn't turn screen off and on during saving or connecting device.

During 7 h 47 mins, battery drains from 80 % to 55% . it means 25 % draining.?
[LG V20 Guides, News, & Discussion] One Twelve:
Root is not necessary but getting dumpfile can be difficult because of a bug. This is why i wanted you to do some short tests before you did a real test. There is too little information in screen shots.

In BBS app, open Settings, go to Advanced. Check 'private storage'. Do you see the path ?

Internal storage/Android/data/com.asksven.betterbatterystats/files/Download

That is where the dumpfile will be saved.

In LG file manager app go to that path. On Download folder, tap and hold -> Add to home screen

Now there is shortcut of that folder on your home screen for easy access.

Now do a test run. For ten minutes only. Leave phone alone. After ten minutes, select screen off to screen on. Press share button. Save dumpfile.

Check the folder. If there is a file. Check these things

Statistic Type: Screen Off to Screen On ( not boot or unplugged but screen off to screen on)

If sucessful. Then do an idle test again. Remember, less than one minute SOT.

Post your dumpfile.

If not successful, post here and say what happened. Do not do another 7 hour test unless you have a dumpfile. Without a dumpfile nobody can help you
[LG V20 Guides, News, & Discussion] amirhosseinakb:
Thanks for detailed and step to step guidance.

After check the private directory it has been added to data folder.

As i didnt turn off screen until now ,Here is a valid txt file.

Tonight another test result will be added .

Can i ask you that is there any private data in txt file that i have to be worry about sharing them into public ?
[LG V20 Guides, News, & Discussion] One Twelve:
So sorry, it is not valid

Level lost [%]: Bat.: 32%(24% to 56%) [-3.7%/h]

24 to 56 means it is charging. It must be discharging only

Screen On (): 4 m 36 s 0.9%

Must be less than one minute

Now you know what to do it will be easier next time.

Your settings screenshots are ok.

Which apps are loaded in ram memory. Your phone model number. No private data. In BBS thread all people share dumpfiles like this.

You can check yourself, its not full dumpfile with everything

Good, maybe we will learn what is the problem with your phone :)
[LG V20 Guides, News, & Discussion] amirhosseinakb:
Even though this report time is about 5h 44min, but is about discharge.

Please check this to next file that i will give you.
[LG V20 Guides, News, & Discussion] kovacszj:
Hi,

You should definitely give permission for alarms so we can see the alarm drain.

Huge battery drainers are:

com.android.gallery3d (com.lge.gallery.data.trashcan.TrashCanAutoDeleteService)

Active since: 1 d 4 h 46 m 48 s

Last activity: 8 h 42 m 38 s

com.lge.music (com.lge.music.wear.sync.MusicWearFileTransferService)

Active since: 2 h 21 m 50 s

Last activity: 7 h 50 m 7 s

Have you listened to music???

com.android.gallery3d (com.lge.gallery.data.trashcan.TrashCanAutoDeleteService)

Active since: 1 d 4 h 46 m 48 s

Last activity: 8 h 42 m 38 s

And the Google play services:

com.google.android.gms (com.google.android.gms.measurement.service.MeasurementBrokerService)

Active since: 4 h 25 m 14 s

Last activity: 8 h 43 m 6 s

com.google.android.gms.persistent (com.google.location.nearby.direct.service.NearbyDirectService)

Active since: 1 h 49 m 58 s

Last activity: 12 m 7 s

com.google.android.gms.persistent (com.google.android.location.fused.service.FusedProviderService)

Active since: 2 h 23 m 2 s

Last activity: 14 m 15 s

com.google.android.gms.persistent (com.google.android.gms.pseudonymous.service.PseudonymousIdService)

Active since: 2 h 22 m 54 s

Last activity: 14 m 7 s

Crash count:0

com.google.android.gms.persistent (com.google.android.gms.phenotype.service.PhenotypeService)

Active since: 1 d 4 h 35 m 35 s

Last activity: 8 h 44 m 35 s

Well I don't now, abovementioned data is kind of strange if you made your dump file after full charging and on idle. Also try to keep screen time under a minute.

But maybe our forum mate One Twelve could find other culprits.

My advise, without killing the Google play services, try to make another dump file like this - give permission for alarms, full charge, leave the phone on idle for at least 6 hours, save the dump file and post it in betterbatterystats thread. There a lot of experienced guy, so probably they will find all the culprits.

Good thread for killing Google play services:

https://xdaforums.com/showpost.php?p=73693320&postcount=32709