some portion of my hp laptop led gets dim

Since it's only in the corner, my guess would be the ccfl. If the inverter was going, the entire screen would suffer.

That said, replace both - a bad ccfl will put extra stress on the inverter.

Mark