[Nexus 5 Android Development] SOLheel:
Giant reply about battery consumption/modems at bottom

After my last post saying I never had any issues with the camera, I did some testing and had the Camera could not connect error, it went away after closing the camera app and reopening it. I did have some graphical issues when putting the camera into landscape mode. I have a bunch of different camera apps installed, the issue only appeared on Google Camera, nothing else.

However I was running an older camera mod that I contribute those issues to because I did a clean flash, and never installed the mod and now there is no issues. I doubt anyone else was running that particular mod since its old and the dev has been banned from xda for a while.

I know that is not super useful, except if you are running a camera mod, or did not do a clean flash, that could be related to the issue.

Read my big reply below about about modems.

Following is a massive reply I hid it so the majority of users without battery issues do not have to scroll through it unless they want to read it.

Dude, you REALLY need to learn more about battery consumption, and the main culprits that drain a battery.

YES I did read your posts, and look at your screenshots, I even looked up any posts/threads started by you.

So instead of being rude again to someone helping you and instigate the thread being locked down, consider all of the following:

1.) your cellular signal is weak. Source: your screenshot

2.) It takes a lot of power to have a mobile radio active.

3.) It takes a lot more power to hold a connection with a weak signal. Your signal is weak, and poor at times

4.) It takes so much power you will think your phone is broken if your modem does not provide a good connection

5.) You said wakelock detector is useless. Maybe it is not useless, there is simply nothing to show you. -> that tells me it is not a wake lock

6.) Android system is consuming your battery, there is no wake locks to show.

What could it be? Your modem consuming excessive battery to hold a connection would be my number one guess. If you already did try experimenting with different modems, perhaps your provider has weak LTE signal where you are, if so try 3g connection instead.

7.) Considering that, try to leave your phone in airplane mode overnight with your current modem and see what consumption is like.

If you still have excess drain in Airplane mode, maybe your battery or something else in your handset is faulty now (even if it was not previously) - Re: Battery dropping excess %, as per that post of yours and this one

Unless you've done testing with different modems:

a.) yourself

b.) on your N5

c.) in your location

d.) on your provider

then your complaining is moot, furthermore, a modem that works good for person a, in their location does not mean that same modem will be the best for person b, c, d -> z. So YOU have to try out different modems yourself.

There has been well known posts all over the whole internet(xda, reddit, random android sites, youtube, it pops up in G+ even though I am not subscribed to a single android news/info source) since Lollipop first surfaced talking about battery consumption of LP modems, and how it murders battery life.

Source: reddit post - OCT 22, 2014

Blog post about weak connection/battery consumption - Feb 2, 2014

Forum post about Nexus 5 signal problems - Jan 27, 2014

I would suspect, you upgraded to 5.1 & flashed the whole factory images including the 5.1 radio, or blindly flashed the radio along with the ROM, or followed a metaphorically blind persons wrong advise that says you must run the 5.1 modem on 5.1LP - Which is not true!

Nexus 5 modems thread @ xda

Personally for me, on my provider, on MY particular N5, in my location

KTU84P (4.4.4)

M8974A-2.0.50.1.16

Provides the best battery life.

Personally I keep 6 different modems on my phone in my flash folder that I will test out if battery life is not good.

the 5.x radios absolutely murder my battery life.

My N5? I bought 2nd hand from a girl local to me so I never had to wait for the phone to be shipped to me from Google when I was not impressed with the current top flagships I had shortly after the n5 came out.

The rear camera broke from a less than 2 foot drop onto padded carpet, and lost ability to auto-focus, around the same time tons of people online were complaining about the focus ability of the N5 - claiming the camera is no good, or there was a software problem. $20 on ebay, a few days waiting, 45 minutes installing & the camera was fixed.

I dropped it while getting out of my SUV face down onto the screen, smashing it.

I had a random store local to me replace the screen.

I excessively used 2.0amp chargers to get a full charge in a short time.

I always have 100-190 apps installed, multiple email accounts, etc, etc on my phone.

I have Battery Widget Reborn, BBS, and a few other apps and related services running all the time

I stream music lots, over bluetooth while driving or working out.

I still get around 4.5 hours SOT while using 25-35% brightness indoors, and anywhere from 65-100% brightness while outside or driving, with that type of SOT I get around 14-18 hours off charger.

With less SOT I get 24-48 hours off charger. Depends on usage.

And this phone has been well abused, tinkered with, and owned by someone else before I got my hands on it. Considering all of that, I think my battery life is pretty good. So using me, and everyone else with acceptable to impressive battery life - I'm confident in saying there is no underlying issue with battery consumption in Lollipop 5.x

If with your extensive battery knowledge, and extensive testing or roms and modems, and checking mobile signal strength, and using 3g instead of LTE and your positive that the issue is actually related to 5.1. Roll back to another version, a different rom, or sell the phone and buy something that will make you happy instead of looking for issues that do not exist, and then talking about a few rogue issues on another rom like they apply to Android globally.

Try different modems, try 3g, get your mobile signal out of the yellow, if you still have issues then consider a hardware problem. I really hope you spend a bunch of time trying the suggestions I posted, using a process of elimination to figure out what made your battery life from your previous 5.0.1/2 to 5.1 turn bad.

Changing, testing, and monitoring things yourself is the best way to solve your problem. Not claiming wakelocks from alarm are causing you issues, when you have no wakelocks, or a GPS problem a few others had on a different rom are the cause of your battery life.

TLDR: you have poor mobile signal, flash a 4.4.4 modem, use that rom/modem for a week, review mobile signal and battery consumption.

Your welcome