A portable lighting device comprising: a housing; a light source supported by the housing; and a power source positioned within the housing and coupled to the light source, wherein the power source is configured to provide a drive current to the light source and an intensity of the light source is dependent on the drive current; the portable lighting device further comprises an electronic processor positioned within the housing and coupled to the light source and the power source, wherein the electronic processor is configured to measure a voltage of the power source, determine whether the voltage of the power source is less than a first predetermined threshold, in response to determining that the voltage of the power source is not less than the first predetermined threshold, control the drive current to operate the light source in a high current operation mode, wherein the drive current in the high current operation mode is set to a high drive current value, in response to determining that the voltage of the power source is less than the first predetermined threshold, control the drive current to operate the light source in a low current operation mode, the portable lighting device being characterized in that the electronic processor is further configured to determine whether the voltage of the power source is greater than a second predetermined threshold, wherein the second predetermined threshold is lower than the first predetermined threshold, increase the drive current in response to determining that the voltage of the power source is greater than the second predetermined threshold, determine whether the drive current has increased to be greater than or equal to the high drive current value of the high current operation mode of the light source, and in response to determining that the drive current has increased to be greater than or equal to the high drive current value of the high current operation mode of the light source, control the drive current to operate the light source in the high current operation mode. a housing; a light source supported by the housing; and a power source positioned within the housing and coupled to the light source, wherein the power source is configured to provide a drive current to the light source and an intensity of the light source is dependent on the drive current; the portable lighting device further comprises an electronic processor positioned within the housing and coupled to the light source and the power source, wherein the electronic processor is configured to measure a voltage of the power source, determine whether the voltage of the power source is less than a first predetermined threshold, in response to determining that the voltage of the power source is not less than the first predetermined threshold, control the drive current to operate the light source in a high current operation mode, wherein the drive current in the high current operation mode is set to a high drive current value, in response to determining that the voltage of the power source is less than the first predetermined threshold, control the drive current to operate the light source in a low current operation mode, the portable lighting device being characterized in that the electronic processor is further configured to determine whether the voltage of the power source is greater than a second predetermined threshold, wherein the second predetermined threshold is lower than the first predetermined threshold, increase the drive current in response to determining that the voltage of the power source is greater than the second predetermined threshold, determine whether the drive current has increased to be greater than or equal to the high drive current value of the high current operation mode of the light source, and in response to determining that the drive current has increased to be greater than or equal to the high drive current value of the high current operation mode of the light source, control the drive current to operate the light source in the high current operation mode. measure a voltage of the power source, determine whether the voltage of the power source is less than a first predetermined threshold, in response to determining that the voltage of the power source is not less than the first predetermined threshold, control the drive current to operate the light source in a high current operation mode, wherein the drive current in the high current operation mode is set to a high drive current value, in response to determining that the voltage of the power source is less than the first predetermined threshold, control the drive current to operate the light source in a low current operation mode, the portable lighting device being characterized in that the electronic processor is further configured to determine whether the voltage of the power source is greater than a second predetermined threshold, wherein the second predetermined threshold is lower than the first predetermined threshold, increase the drive current in response to determining that the voltage of the power source is greater than the second predetermined threshold, determine whether the drive current has increased to be greater than or equal to the high drive current value of the high current operation mode of the light source, and in response to determining that the drive current has increased to be greater than or equal to the high drive current value of the high current operation mode of the light source, control the drive current to operate the light source in the high current operation mode.