NOVELTY - The lighting device (100) has a power management unit for use in the controlled charging and discharging of the lighting device. A lighting unit (114) for illumination is powered by the power management unit, An optical assembly (116) is used for adjusting the optical parameters of the illumination. The lighting device is separated into two or more parts and is powered by solar energy.    USE - Portable lighting device for providing illumination using solar energy to e.g. household, factory, street. Uses include but are not limited to a table lamp, wall mounted lamp, handheld torch, ceiling lamp, street light, vehicle light.    ADVANTAGE - The single lighting device can drive multiple lighting units, fans, charges for external devices such as media players and has the capability of charging external electronic devices such as mobile phones, media players, radios and the like using the power management unit. The device also has the capability of functioning as an insect repeller, has adaptively varying intensity and allows modification of view angles of the light with the help of an attached optical assembly. The device also allows wide view angle settings depending on requirement, focusing on the intended area of illumination and avoiding wastage energy. The optical assembly may safeguard eyes by preventing direct exposure to the emitted beam of light. Automated control of different modes of operation is made possible by simply pressing a manually operated button located at a user interface. The overall design of the lighting device is low cost, portable and efficient with the use of the controller, enabling a multipurpose portable lighting device. The lighting device may generate easily configurable shapes through inbuilt design and mechanism without adding any external component or element or device to the lighting device as an attachment. The lighting device may serve as a multipurpose lamp since it may be used for example as a table lamp, wall mounted lamp, handheld torch, ceiling lamp, street light, vehicle light and the like. The lighting device may include components that may provide capability to extract maximum power from an external power source intelligently without overloading the power source based on requirements such that it enables availability of wide ranges of input voltages and currents. The lighting device may be configured into varied shapes which may be used for distinct applications.    DESCRIPTION OF DRAWING(S) - The drawing shows a block diagram of a portable lighting device.    Lighting device (100)    Power input unit (108)    Storage unit (110)    Lighting unit (114)    Optical assembly (116)