If you have refugee status or subsidiary protection in Poland, permanent residence generally requires 5 years of continuous residence immediately before you apply. You may spend up to 10 months abroad in total, with up to 6 months per trip. Exceptions apply. The app uses 300 days as an estimate and tracks only total time abroad.
https://www.gov.pl/web/uw-podlaski/status-uchodzcy-ochrona-uzupelniajaca-wzgledy-humanitarne