Messages in this thread | | | Date | Thu, 4 Sep 2003 07:52:31 -0700 (PDT) | From | Patrick Mochel <> | Subject | Re: Fix up power managment in 2.6 |
| |
> I'm not sure trying to suspect during boot is a good thing to do, either. > Maybe that should wait and be enabled at user option at the end of boot. > In any case, I think avoiding data damage is higher priority than > efficiency, elegance, modularity, etc. > > Beyond that I'll let you guys fight it out, I'm just worried that the new > pm is going to bite me even if I don't use suspend.
Your paranoia is understood, but completely unfounded. As Pavel said, we do not support such a feature. When/if we do, only the mechanism for detecting a low battery state and transitioning to a suspend sequence would be in the kernel. The policy that stated what the watermark on the battery charge was to do that would live in userspace, and set on boot (long after the kernel was done booting). The default would obviously be OFF until it was set by userspace.
Patches to implement this would be greatly appreciated.
Pat
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |