Describe the bug
When I try to compile yarp_ovrheadset I get the following error.
~
a reference of type "yarp::dev::iBattery::Battery_status&" (not const-qualified) cannot be initialized with a value of type "int"
~
Screenshots

Configuration:
Additional context
The bug can be easily fixed by editing https://github.com/robotology/yarp/blob/053d25c23164c7c4a46e056036c6bd17a60ed429/src/devices/ovrheadset/TextureBattery.cpp#L148
into
yarp::dev::iBattery::Battery_status status;
cc @aerydna @kouroshD
@randaz81 I think this might be related to your recent changes to the Battery stuff
424d772 is fine, please proceed...
Fixed by #1943
Shall we cherry-pick the fix in master ?
I think that the changes to the battery are in devel only