Add power saving modes to code

Hi I’m looking for someone to check to see if a code needs a power saving mode

Example: power saving mode 0,1mA on button press and few uA when led on or off.

When an LED is on, the 0.1 mA doesn't matter any more.

The rest of your question makes even less sense (YOU are the one that designs the project, YOU decide whether you need to save every last bit of power).

You have, for example, developed a battery powered project and you want ideas on extending the battery life say using sleep mode, turning off unused peripherals etc. ?