port power_profile_rev5 by Loxdegio