LCD Refresh Issue During Initial Battery Charging (During The Boot time)

by Kal » Tue, 14 Dec 2010 02:13:39 GMT

Sponsored Links
 I am trying to display the carrier logo animation along with battery
charging animation. During this animation, i am also providing the
facility of key events, which can allow the battery charging to an
acceptable level, by turning off the backlight and LCD.

Whenever we press the power button (Short Key Press) , i am turning
off the both LCD and the backlight. The turning off the LCD is done by
setting the "mem" string value to /sys/power/state device file.

 Again when we press back either the power key or any other keys, we
are turning on the LCD as well as backlight. The turning on the LCD is
done by setting the "on" string value to /sys/power/state device file.

 Linux power management uses the power management concept called
"Early Suspend" and "Late Resume". We don't have any issue with "Early
Suspend", but we have issue with "Late Resume".

Once we receive the Keypad event, we start drawing the animation
again. By the time we get the animation on the screen, the battery
backlight image has been drawn and LCD is still not completely
initialized (this is my understanding).  This is causing some junk
pixels shown on the screen.

I am trying to find better ways of turning off the LCD and turning on
again, which will take minimal time. I found the following patch,
which they were trying to minimize the wakeup time.

But i am not sure, whether this patch is already in the main line
kernel or not. If not any other better approaches for this.

Best Regards,
Srinivas Kalbhavi


Re: LCD Refresh Issue During Initial Battery Charging (During The Boot time)

by Kal » Tue, 14 Dec 2010 04:01:53 GMT

 Instead of LCD refresh, i would say it is LCD display update issue.
Usually LCD refresh term used for refreshing the internal GRAM of LCD

Best Regards,
Srinivas Kalbhavi


Sponsored Links

Other Threads

1. Obtain Point of Interest data based on current location.

      I am developing a GPS application in Android using Location/
Location Manager package. I am able to get the current latitude and
longitude data correctly.
      My doubt is, do we have any means by which we can obtain the
nearest "Point of Interest" based on the current location using
Android/google API? If so then please let me know the steps for
obtaining the same.
      Also let me know whether the type of POI can also be obtained
using the current location.

- Ruppin


2. BETA Testers Wanted

We are looking for people to help BETA test the FunMail app coming to
the Android Market soon! Get a sneak peak at our app and help us find
some bugz!

Download the BETA at:

FunMail is a next-generation visual messaging platform. FunMail finds
contextual relevant visual content for any text, tweet or status
update. Users simply enter a message, and the FunMail Media Brain
analyzes the text and offers entertaining, relevant choices.

Find some bugz and send us feedback on the app, go to:


3. BETA Tester Wanted

4. Why some apps apear in just-in in android market but they have reviews 2 months old?

5. Improve time and date picker when editing appointment in calendar

6. Upload multiple versions for single android application for different SDK levels 1.5, 1.6, 2.0

7. Camera intent - what's safe to use?