Nordic nRF51xx low energy profile ( sleep, deep sleep)

Deep Sleep, low energy on the nRF51822?

int main() {   


// 254uA here

  while(1) ;      

Can only use Mbed 2 for some reason OS5 is not supported so can’t try

ThisThread::sleep_for(sleep time); 

I was hoping to use this as a low energy beacon (Eddystone). This example:
But far too much power.
Based on the Microbit that has virtually no components, no LDO regulator so why so much power?

Is this platform/target/vendor depreciated now?