I believe the accelerometer in this model is intended for "HP 3D Driveguard" to park HDD drive heads to help protect the drive from fall damage. So the sensor was probably not intended to reflect the orientation of the screen.
I looked for a BIOS or firmware update on HPs site but didn't find any that mention the accelerometer or orientation issues.
Some searches turn up people using Windows 10 finding the same upside-down orientation problems on this hardware.
I believe the accelerometer in this model is intended for "HP 3D Driveguard" to park HDD drive heads to help protect the drive from fall damage. So the sensor was probably not intended to reflect the orientation of the screen.
I looked for a BIOS or firmware update on HPs site but didn't find any that mention the accelerometer or orientation issues.
Some searches turn up people using Windows 10 finding the same upside-down orientation problems on this hardware.