Ran into a bizarre problem this morning. My Galaxy Nexus was plugged in, but not charging. Data transfer over USB seemed to work, but no charging would happen. Stranger still, if I turned the phone off, it would immediately start booting up. I couldn't actually get it to be off.
I couldn't find these symptoms on google, so I'm posting here. I did eventually solve it by pulling out the battery and putting in a different one (the lower capacity one the phone came with). It seemed to be normal, and continues to be normal after I switched back to the battery which wasn't charging earlier. Anyone know the actual cause? Either way, a solution is here for distressed users.