BeerGang/android_frameworks_base — pull request #5 by benjamingoodwin (2013-03-09 09:17:06+00:00)
Title: Clean and Wake On Plug

This is taken from AOKP and this commit: 692d590554b70db15f9add73f1e8ec397aa0b8e0 - with a couple of alterations.