//Screen Saver Time out
TInt timeout = 0;
CRepository* cenrep = CRepository::NewLC(TUid::Uid(0x101F877C));
User::LeaveIfError(cenrep->Get(0x8, timeout));
CleanupStack::PopAndDestroy(cenrep);
//Backlight Time out
TInt timeout = 0;
CRepository* cenrep = CRepository::NewLC(TUid::Uid(0x101F8781));
User::LeaveIfError(cenrep->Get(0x1, timeout));
CleanupStack::PopAndDestroy(cenrep);
This is for S60 3rd edition. I do not know the others