Not knowledged on this but I think you very well might be onto something, if I enable "Show background ANR" from developer settings, I constantly get "SecureElementApplication is not responding", something weird with that is definitely going on. Quick googling tells that apparently Secure Element is somehow used for payments?
That's from Google and the Safetynet API. It was noted yesterday by topjohnwu and a fix is in release:
Secure Element will no longer crash in the background, but I am not sure if that's related with Google Pay. For Google Pay to work (and I got a confirmation it works on Mi 8) you need Magisk.This patch is coming up in the next build, related to SecureElement, maybe we then have better luck with NFC payments and hopefully get rid of SecureElementApplication crash issues?
Here, just implemented it: https://review.lineageos.org/q/topic:fully-charged-lights-disabled.Thanks for the update again. A question about the LED. Why is it not possible to program the LED to turn off after the battery is fully charged?