Jump to content

Recommended Posts

Posted

Hey guys,

Using a A20 board with AXP209, using mainline, I am trying to add a battery indicator as an overlay on video signal so that user can see remaining battery %. Something similar to smartphone battery indicator.

 

Any idea how to do this?

 

This shows how to get battery % but how to add an overlay? 

 

This sounds like something that probably have already been done. Do you know any existing reference ?

 

Posted

Hey guys,

It seems that some graphics card (probably the one integrated in the a20 processor) are able to manage multiple memory buffer and thus several layers for one display.

 

 

Is it possible to declare two framebuffers for the main display: like fb0 - layer1 / fb1 - layer2 with alpha channel? So it would be easier to implement overlay display for information about the battery or the brightness level of the screen.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines