systemtime1
:
:
(処理)
:
:
while(true){if(systemtime2-systemtime1>100)break;}

こうすればその場ループなのでバッテリーもあまり消費しないはず