Compute the charging area rectangle after retrieving the screen size from the device
The charging area was computed with the hardcoded values at the beginning, with this PR it just computes it after the retrieving the width/height from the actual device