Sigh... what MuNNa1988 is saying is that Windows 7 as implemented the warning message "Consider Replacing Your Battery" to run whenever the "Last Full Charge" of the battery in your computer dips below 40% (Full charge meaning out of the original "Design
Capacity" of the battery, less than 40% of it was recharged. the tips he provided is a way to re-lengthen your battery life over repeated use. (drop battery life to absolutely no charge, plug in charger until it is fully charged, repeat process)
However, if the battery cannot maintain that charge over 40%, it will continue to tell you to replace the battery. if you wish to determine how this magic percentage is achieved, run the diagnostic MuNNa1988 provided and retrieve the two numbers above
the percentage (labelled "Design Capacity" and "Last Full Charge"). take the number from the Last Full Charge and divide it by the number from the Design compacity multiplied by 100. (Formula: (Last Full Charge/Design Capacity) x 100 = Last Full Charge Percentage).
So, in short, if Last Full Charge is less than 40%, the message will continue to appear.
If you want to fix this, either buy a new battery and replace the problematic one, or try and re-lengthen the life of your battery.