PIXEL

Open phone’sĀ Settings > Battery > Three dot menu (top right of screen) > Battery optimization > All Apps > Find Pedometer app in the list and tap it, and select “Not optimized”.