[Android Q&A, Help & Troubleshooting] Adrianrff:
I know this is probably the most addressed issue in any Android forum, but I swear I've tried it all and nothing seems to work.

First of all, the drain only happens when on mobile data, I never see it when on WIFI, even on extremely crappy connections like the one I have at work (no exageration here, it's almost dial-up), where you'd think that the device is being kept awake because it takes longer to sync. I've been having this issue for over a week now. Here are some of the things I've tried and noticed.

- I have disabled syncronization from every Google Service (contacts, Gmail, Apps, Fit... everything) and autosync in general is disabled.

- Through Privacy Guard in CM12.1, I denied EVERY permission to Google Services

- Inspite of having denied these permissions, including location, and location being disabled completely, Google Services is still asking constantly for location, as you can see in the screenshots. It has requested location 775 times and woken up the device 669 times (this happened in 24 hours, the stats reset yesterday night when I made factory reset). That can't be normal, right? If i set the permissions to awlays ask, I see not one, but 4 or 5 requests in a row at virtually every screen on or every couple of minutes if the screen is kept on, regardless of if I denied or grant them. Why is it even asking for location when location is off!?

- I've denied permissions to Contacts Sync only because the icon in the battery stats frequently changed to the contacts icon

- The drain may not be massive but it's definitely considerable, it varies between 1.5% and 8% per hour when idle. At least the first hour idle.

- I occasionally see some wakelocks when on mobile data (RILJ is the most noticeable, but sometimes sync related and *alarm* wakelocks are there too) but the drain is there regardless of if the phones sleeps +90% of the time, as it usually does (according to wakelock detector and Better Battery stats anyway), which is very strange to me

- If I leave the phone untouched for several hours, the drain can go down to less than 1%, but it takes at least an hour for the device to get to that point, waking up in the middle to use 5% per hour for several minutes (no considerable wakelocks). Very inconsistent.

These screenshots show the device on wifi using 0.58%. After turning it off it started using 1.47% and then almost 4%/H (it's usually much higher with sync enabled and permissions granted).

These show the request count of Google Services (note location (ubicación) and wake up (despertar)). EVERY SINGLE permission is denied (ignorado) but it still drains the battery!

Has anyone seen anything like this? This started happening when I got the 5.1 OTA. I changed carriers around the same time and the mobile data signal at home isn't very good, but it happens everywhere, even on areas with great LTE or 3G coverage. I'm not completely sure of this, but I think forcing 2G helps.

I'd be immensely aprreciated if someone can give me hint on what the hell is going on here, buecause I just don't get it. Non of the usual approaches work.

Thanks

______

Nexus 5 running CM 12.1 (happened on stock 5.1 and after downgrading to 5.0.1 as well)

Google Services version 7.3.29