What is my phone doing at 1 o'clock in the morning?
You can use a logcat viewer, such as LogCat Reader (I've found that one works well), and just scroll back through the logs until the time in question.  

A less precise solution would be to go to Settings > About phone > Battery use and that will tell you what has been using most of your battery.