Force vertical orientation for Android
Fixed blatant hard fault in power averaging function