This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: How to do Automatic shut-down of system in linux, when Battery power gets low

Tool/software: Linux

How to do Automatic shut-down of system in linux when Battery power gets low for AM335x ? This will be done in user space or kernel space?

How to set/configure the battery level to which the system should do automatic shut-down.

 Is this handled in TI SDK ? if yes where do i find the code for the same.