Anyone having problem with xwidget or any other widget u have to go to setting... Apps... Apps... Click on 3dots in right corner... Then select Special Access... Battery optimisation... Select from drop down menu all apps then find xwidget or what app widget u use... Click on it and select don't...