OTG+charge hack: restore peripherals on power loss (partly working)

Change-Id: I610e83b27ef5ba10c64cf17af9d2b78949a92594
Signed-off-by: flar2 <asegaert@gmail.com>