[Moto G Q&A, Help & Troubleshooting] if0rg0t:
Experiment #2: Isolate GPS (Duration: 3 nights)

Here is my proposal for the 2nd in a series of experiments to isolate this bug. Our current collective hunch is that this problem caused by wifi or gps (or some combination) turning on, and continuously causing some form of battery drain even when switched off. This second experiment is to isolate if it is due to GPS (the first one dealt with WiFi).

This will take a total of 3 nights.

Preparation: Install battery drain analyzer. It's a simple app that timestamps each increase/decrease in battery percentage, logs it, and calculates % drain per hour.

https://play.google.com/store/apps/d...eryDrain&hl=en

Methodology.

1. Keep GPS off. Perform a set usage pattern, then keep phone on sleep all night. [This is identical to the WiFi experiment, so there is no need to replicate this]

2. Perform the set usage pattern using WIFI, then keep phone on sleep all night with GPS turned on.

3. Perform the set usage pattern using GPS, then keep phone on sleep all night with wifi turned off.

Night #1 (Click for data) [This is identical to the WiFi experiment, so there is no need to replicate this]

1. Fully charge the phone. Keep it connected.

2. Turn off wifi and bluetooth.

3. Turn off location services.

4. Turn on 3g if not already on.

5. Make sure no rogue wakelocks will occur (turn of Tasker, greenify what you need to greenify to avoid wakelocks,etc ... whatever it takes in your particular circumstance).

6. Reboot the phone.

7. Check to make sure only 3g is on.

8. Browse the web a bit to create network activity.

9. Open maps, check traffic, etc ... to create some map activity (don't turn GPS on).

10. Make sure BetterBatteryStats is running.

11. Disconnect from the charger, and don't touch the phone till the morning.

12. In the morning take a screenshot of battery settings screen, detailed battery percentage, and top apps.

13. Dump BetterBatteryStats to a file.

14. Screenshot/dump battery drain analyzer log.

Night #2 (Click for data)

1. Fully charge the phone. Keep it connected.

2. Turn off wifi and bluetooth.

3. Turn off location services.

4. Turn on 3g if not already on.

5. Make sure no rogue wakelocks will occur (turn of Tasker, greenify what you need to greenify to avoid wakelocks,etc ... whatever it takes in your particular circumstance).

6. Reboot the phone.

7. Check to make sure only 3g is on.

8. Turn on WiFi, and make sure it is connected.

9. Browse the web a bit to create network activity.

10. Open maps, check traffic, etc ... to create some map activity (don't turn GPS on).

11. Make sure BetterBatteryStats is running.

12. Disconnect from the charger, and don't touch the phone till the morning.

13. In the morning take a screenshot of battery settings screen, detailed battery percentage, and top apps.

14. Dump BetterBatteryStats to a file.

14. Screenshot/dump battery drain analyzer log.

Night #3 (Click for data)

1. Fully charge the phone. Keep it connected.

2. Turn off wifi and bluetooth.

3. Turn off location services.

4. Turn on 3g if not already on.

5. Make sure no rogue wakelocks will occur (turn of Tasker, greenify what you need to greenify to avoid wakelocks,etc ... whatever it takes in your particular circumstance).

6. Reboot the phone.

7. Check to make sure only 3g is on.

8. Turn on WiFi, and make sure it is connected.

9. Browse the web a bit to create network activity.

10. Open maps, check traffic, etc ... to create some map activity (don't turn GPS on).

11. Make sure BetterBatteryStats is running.

12. Turn off Wifi.

13. Disconnect from the charger, and don't touch the phone till the morning.

14. In the morning take a screenshot of battery settings screen, detailed battery percentage, and top apps.

15. Dump BetterBatteryStats to a file.

16. Screenshot/dump battery drain analyzer log.