Battery handling by custom image for CM3 Devterm

I made an image using instructions from Create DevTerm CM3 OS image from scratch · clockworkpi/DevTerm Wiki · GitHub The proces went well without critical errors. The devterm seems to work ok on the new image. Except for the battery. Even though the battery is displayed at 100% the devterm goes black as soon as i remove external power.
When i replace the new image with a default CM3 image the devterm shows a full battery and runs without external power.

Any hints on what i could do to solve the problem with the new image?

If you have made a new image for your Devterm, are there any issues you encountered?


The AXP power management chip probably needs to be configured correctly. Make sure you apply all the needed kernel patches.