No problem with going offline for few days. Remember this is a private node, not a routing node. Those channels will be closed by your peers ONLY if for a long period of time you do not have any activity in/out and most of the balance is on THEIR side (it means they kept funds locked doing nothing).
if they repeatedly switch from active to inactive
That is valid ONLY for public routing nodes.
FWIW I've seen nodes leave channels open for literally months even when the node has been entirely inactive.
The Lightning protocol itself has no specific time limits on channels. They can remain open indefinitely as long as both sides choose not to close them.
reply
Thanks. That's a big help. No more persistent mode.