- Adapt script to the limited Android shell environment.
- Unfortunately, the script returns 0 most of the time because it requires
  precision on the percentage calculation provided by bc. However, bc is not
  available on Android.
  - Something to consider on a later version.