[Moto G Q&A, Help & Troubleshooting] if0rg0t:
Experiment #1: Isolate Wi-Fi (Duration: 3 nights)

Here is my proposal for the 1st 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 first experiment is to isolate if it is due to 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/details?id=com.WazaBe.android.BatteryDrain&hl=en

Methodology.

1. Keep wifi off. Perform a set usage pattern, then keep phone on sleep all night.

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

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

Night #1 (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. 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.