Backlight control

Login to reply to this topic.
Tue, 2005-02-15 00:05
Joined: 2005-02-11
Forum posts: 10
Everybody knows ResetInactivityTime to switch on. How to switch off?

There is

HAL::Get(HAL::EBacklight,tmp) returns KErrNone

but

HAL::Set(HAL::EBacklight,tmp) returns KErrNotSupported

HAVE ANYBODY SOLVE THIS PROBLEM?Huh

Wed, 2005-02-16 23:31
Joined: 2004-09-25
Forum posts: 75
Re: Backlight control
Quote from: RedMac
Everybody knows ResetInactivityTime to switch on. How to switch off?

There is

HAL::Get(HAL::EBacklight,tmp) returns KErrNone

but

HAL::Set(HAL::EBacklight,tmp) returns KErrNotSupported

HAVE ANYBODY SOLVE THIS PROBLEM?Huh

Did you try it on a handset? Low level APIs like this one are not very well implemented in the emulator. In fact, they don't emulate backlight at all (unlike Series 40 emulators for example). I would try it on a handset.

-Slava
Thu, 2005-02-17 00:51
Joined: 2004-09-25
Forum posts: 75
Backlight control
I think you use HAL::EBacklight only to query whether backlight control is supported by HAL. That's why it's readonly. You are supposed to use HAL::EBacklightState to actually turn the backlight on/off or query the current state. Does not seem to work on my Nokia 6600 though... Perhaps Series 60 uses different mechanism to control backlight.

Good luck!
-Slava
Thu, 2005-04-28 18:30
Joined: 2005-04-28
Forum posts: 6
Re: Backlight control
Hi I tried using ResetInactivityTime, and also HAL::Backlight, HAL::BacklightStatus,
but can't get it to work.
could you please give me exact usage of how to switch on the back light of the phone....

thanks
Wed, 2006-12-20 15:11
Joined: 2006-11-22
Forum posts: 43
Re: Backlight control
did you solve your Hal problem of light off can you help me i am facing the same problem.
  • Login to reply to this topic.