frameworks/base: Disable H/w GL rendering based on property

"ro.nohardwaregfx" can be set to true to have software
rendering.The property could be set for each board by adding
the 2 lines to device.mk file.

PRODUCT_PROPERTY_OVERRIDES += \
            ro.nohardwaregfx=true

Based on ICS patch from Vishal Bhoj <Vishal.Bhoj@linaro.org>

Change-Id: I547258ee021034102fe8d8e7cc0cdfa8a63df298
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
frameworks: Report 100% battery level

On devices without battery,the level is
reported as 0 which causes certain apps
which check battery level before executing
to fail.

The patch ensures that such apps work on devices
without battery driver.

Change-Id: I13b056ff52455f27de52ad1e459aa3d8c44b43a0
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>