Hey Karthik,
I think that cannot be done by using a button because we need to have some type 
of switch or something so that we interface with the Software to make it 
work.So by solely using software we cannot achieve this.

> Date: Sat, 21 Nov 2015 05:23:54 -0800
> Subject: Option to Enable / Disable charging via USB when connected to PC
> From: [email protected]
> To: [email protected]
> 
> When using phone as USB thetering or Storage device, the phone get's charged 
> unnecessarily which decreases the battery life. So, An option should be 
> provided in settings whether the user want to enable charging / disable 
> charging the phone connected via USB. Are there any possibilities to 
> implement this feature ?
> 
> Bug Filed here https://bugzilla.mozilla.org/show_bug.cgi?id=1226856
> 
> 
> _______________________________________________
> dev-fxos mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-fxos
                                                                                
  

_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos                                     
  
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to