How can I get daydream mode to remain active throughout the night when using the wireless charger? Daydream mode is working as it should on a stock Nexus 4 4.2 device using the wireless charger however after a period of time daydream mode will shut off and put the screen in to sleep mode. This is not very conducive to being used as a clock in the middle of the night and thus I need to determine how I can get it to remain active throughout the evening, for an indeterminate amount of time.

I believe this is occurring after the phone reaches a certain charge, power delivery is suspended at which time once the sleep threshold is reached the phone will turn off, unless charging resumes. I could in theory set the sleep time to 30 minutes but would prefer a more elegant option.
Since wireless charging actually stops charging at 100%, daydream will not stay active.  There's a open issue for this at https://code.google.com/p/android/issues/detail?id=48980

As a workaround, you can root your phone and, go to a command prompt and type the following:

su
svc power stayon true