Personally, I have a Shortcut to put my phone into "low power mode" once it hits 90% (why not?).
Maybe a Shortcut could do the same and turn off power once it hits 80% on your overnight charging dock and then use a small amount of power while the screen is off.