Android does power management relatively well. In the kernel I am working on (the one I mentioned in the end - the almost-working one) I have a few cool hacks I am trying, like using the JZ4775's DMA engine as a sensor hub (it is a small MIPS cpu that cna run arbitrary code)